-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Let quantity_support also support Quantity subclasses #8818
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
5610f50
to
17ffc05
Compare
In particular, that the work-around can be removed once we support only matplotlib >=3.2.
Codecov Report
@@ Coverage Diff @@
## master #8818 +/- ##
=========================================
Coverage ? 86.99%
=========================================
Files ? 400
Lines ? 59464
Branches ? 1100
=========================================
Hits ? 51730
Misses ? 7093
Partials ? 641
Continue to review full report at Codecov.
|
@astrofrog - tests passed before I pushed the ci-skip commit with an additional comment. I think this is good to go in. |
Oh!! this is the bug I ran into earlier and didn't understand!! |
@Cadair - it took me absolutely forever until I realized that |
Should there be an issue for removing this once the minimum matplotlib version is high enough? We'll forget otherwise... |
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.
It makes sense to me.
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.
confirming @Cadair's approval to be able to merge.
Thank you @mhvk! |
Let quantity_support also support Quantity subclasses
Let quantity_support also support Quantity subclasses
and remove unnecessary code added in astropy#8818 and astropy#8782
and remove unnecessary code added in astropy#8818 and astropy#8782
and remove unnecessary code added in astropy#8818 and astropy#8782
and remove unnecessary code added in astropy#8818 and astropy#8782 Add new JSON for figure tests.
and remove unnecessary code added in astropy#8818 and astropy#8782 Add new JSON for figure tests.
Found while debugging plotting problems with
__array_function__
enabled in #8808.Note that this would be fixed by matplotlib/matplotlib#13536; once that is in, we should include a version check.
EDIT: above matplotlib PR is merged, for inclusion in 3.2. I've added a comment in the file.