-
-
Notifications
You must be signed in to change notification settings - Fork 2k
MNT: Bump matplotlib minversion to 3.2 #14321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
mhvk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks good but CI is erroring.
| if HAS_MATPLOTLIB: | ||
| import matplotlib | ||
|
|
||
| MATPLOTLIB_LT_32 = Version(matplotlib.__version__) < Version("3.2") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Funny that this wasn't even used in the tests!
larrybradley
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
visualization changes look fine. Not sure why the mpl image test failed.
|
I think that is because there is no baseline for |
|
I need to double check, I think we need to copy the hash file to this PR - will confirm tomorrow |
|
Does the failure log look normal? I cannot tell... https://app.circleci.com/pipelines/github/astropy/astropy/14299/workflows/3c0ffa75-a3a2-4f99-a213-0b6f9dcab803/jobs/108267 |
|
@astrofrog , you should look at the diff, some look suspicious to me... https://output.circle-artifacts.com/output/job/1f033492-7a62-4c8d-9720-f1c20e714941/artifacts/0/results/fig_comparison.html |
|
The failures look ok to me, so I think you can safely update the hash file to the one you can download from the figure comparison page. |
and remove unnecessary code added in astropy#8818 and astropy#8782 Add new JSON for figure tests.
This comment was marked as outdated.
This comment was marked as outdated.
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
|
Thanks, all! |
Description
This pull request is to bump minversion of matplotlib to 3.2 and this able to remove the now unnecessary code added in
time_supportcontext manager for plotting times #8782Fixes #8832
After merge
Add
py39-test-image-mpl322-covjob to branch protection rule formainbranch.Checklist for package maintainer(s)
This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.
Extra CIlabel. Codestyle issues can be fixed by the bot.no-changelog-entry-neededlabel. If this is a manual backport, use theskip-changelog-checkslabel unless special changelog handling is necessary.astropy-botcheck might be missing; do not let the green checkmark fool you.backport-X.Y.xlabel(s) before merge.