Pin matplotlib and scipy to fix CI
The purpose of this MR is to temporarily pin matplotlib<3.10.0 and scipy<1.15.0 since their latest versions are breaking the CI.
The purpose of this MR is to temporarily pin matplotlib<3.10.0 and scipy<1.15.0 since their latest versions are breaking the CI.