Skip to content

Conversation

peterfpeterson
Copy link
Member

@peterfpeterson peterfpeterson commented Nov 21, 2024

With the move to numpy v2 in #38420, we can move to the latest stable of release of matplotlib. According to the matplotlib 3.9 notes on runtime dependencies, qt5 is still supported. Let's see what happens.

Link to changes in matplotlib 3.9

There is no associated issue but this is associated with EWM8431

To test:

Probably should do some quick testing of things that rely on matplotlib like SliceViewer, otherwise if the tests pass it should be good to go.


Reviewer

Please comment on the points listed below (full description).
Your comments will be used as part of the gatekeeper process, so please comment clearly on what you have checked during your review. If changes are made to the PR during the review process then your final comment will be the most important for gatekeepers. In this comment you should make it clear why any earlier review is still valid, or confirm that all requested changes have been addressed.

Code Review

  • Is the code of an acceptable quality?
  • Does the code conform to the coding standards?
  • Are the unit tests small and test the class in isolation?
  • If there is GUI work does it follow the GUI standards?
  • If there are changes in the release notes then do they describe the changes appropriately?
  • Do the release notes conform to the release notes guide?

Functional Tests

  • Do changes function as described? Add comments below that describe the tests performed?
  • Do the changes handle unexpected situations, e.g. bad input?
  • Has the relevant (user and developer) documentation been added/updated?

Does everything look good? Mark the review as Approve. A member of @mantidproject/gatekeepers will take care of it.

Gatekeeper

If you need to request changes to a PR then please add a comment and set the review status to "Request changes". This will stop the PR from showing up in the list for other gatekeepers.

@peterfpeterson peterfpeterson changed the title Matplotlib 3 9 Move from matplotlib 3.8 to 3.9 Nov 21, 2024
@github-actions github-actions bot added the Has Conflicts Used by the bot to label pull requests that have conflicts label Nov 22, 2024
Copy link

👋 Hi, @peterfpeterson,

Conflicts have been detected against the base branch. Please rebase your branch against the base branch.

@peterfpeterson peterfpeterson removed the Has Conflicts Used by the bot to label pull requests that have conflicts label Nov 22, 2024
@rosswhitfield rosswhitfield marked this pull request as ready for review November 26, 2024 03:00
@rosswhitfield rosswhitfield added this to the Release 6.12 milestone Nov 26, 2024
@jclarkeSTFC jclarkeSTFC self-assigned this Nov 26, 2024
Copy link
Contributor

@jclarkeSTFC jclarkeSTFC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Played about with some plots, used Slice Viewer a bit, everything seemed to work, just needs some release notes I think.

Copy link
Contributor

@jclarkeSTFC jclarkeSTFC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing the release note

@peterfpeterson peterfpeterson added the Maintenance Unassigned issues to be addressed in the next maintenance period. label Nov 26, 2024
@AndreiSavici AndreiSavici merged commit d880673 into mantidproject:main Nov 26, 2024
10 checks passed
peterfpeterson added a commit to peterfpeterson/mantid that referenced this pull request Nov 26, 2024
This is a squash of mantidproject#38435

Modify test that bounding box is bigger than the shape

The other checks that the 3d view is cubic remain

Fix IntegratePeaksSkew 'x must be a sequence'

Change listed in mpl 3.9 release notes https://matplotlib.org/3.9.0/api/prev_api_changes/api_changes_3.9.0.html#line2d

Update release note to include link for matplotlib 3.9
@peterfpeterson peterfpeterson deleted the matplotlib_3_9 branch November 26, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintenance Unassigned issues to be addressed in the next maintenance period.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants