-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 matplotlib typing #6290
Fix matplotlib typing #6290
Conversation
matplotlib 3.8.0 was released this week and included typing hints. This fixes the resulting CI breakages.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #6290 +/- ##
=======================================
Coverage 97.88% 97.88%
=======================================
Files 1104 1104
Lines 95830 95841 +11
=======================================
+ Hits 93805 93818 +13
+ Misses 2025 2023 -2
☔ View full report in Codecov by Sentry. |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@@ -381,6 +383,7 @@ def plot( | |||
show_plot = not ax | |||
if not ax: | |||
fig, ax = plt.subplots(figsize=(8, 8)) | |||
ax = cast(plt.Axes, ax) |
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.
what does it otherwise think the second return value of plt.sublplots
is?
* Fix matplotlib typing matplotlib 3.8.0 was released this week and included typing hints. This fixes the resulting CI breakages. * Fix issues. * formatting * Change to seaborn v0_8
matplotlib 3.8.0 was released this week and included typing hints. This fixes the resulting CI breakages.