-
Notifications
You must be signed in to change notification settings - Fork 116
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
Fix ImportError #385
Fix ImportError #385
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #385 +/- ##
==========================================
+ Coverage 95.67% 95.73% +0.06%
==========================================
Files 19 19
Lines 2936 2934 -2
==========================================
Hits 2809 2809
+ Misses 127 125 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
🤦 can't believe I fixed the use of this in #380 and didn't bother to remove the import! Thanks. Tests are failing now because of mpl2.0 deprecations. How about we roll in some fixes to that in this PR? |
Looks like remaining failures are due to matplotlib changes... I'll see if I can sort out what's happening here, but it's likely a freetype thing. |
Ah it's actually much simpler - the problem is the change in default legend location. I'll suggest some fixes that should get this passing again. |
The following diff will fix the legend issues:
There's still one remaining failure with I think we can add an xfail here on top of the existing one that bypasses these tests for mpl < 3.8, or we can just tighten the existing xfail logic to only run on 3.8 for now. becomes # Clamp this down when MPL fixes itself
OLD_MPL = (MPL_VERSION < version.parse("3.8.0")) or (MPL_VERSION >= version.parse("3.9.0")) As it turns out, |
Annotation clipping issue pushed upstream to matplotlib/matplotlib#28717 |
Update, got a fix from the mpl devs for the annotation clipping bug:
|
Great! This PR seems good to go in now, and then a subsequent 0.7.1 bump would be great to get out on PyPI for people. 👏 |
Awesome. Thanks @carlthome ! |
Just hit this error on my first time ever attempting to use
When might we expect an update of the PyPI package? |
In the next few weeks. |
As of https://matplotlib.org/stable/api/prev_api_changes/api_changes_3.9.0.html#miscellaneous-removals the tests fail because
matplotlib.collections.BrokenBarHCollection
has been removed now. This PR attempts to fix support for newer matplotlib versions.