-
-
Notifications
You must be signed in to change notification settings - Fork 555
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
Bug fix: Replace prop_cycler with Cycler() #3349
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
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.
The changes in the notebook are the same in this file. The notebook and script share a lot of the same code.
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## develop #3349 +/- ##
========================================
Coverage 99.55% 99.55%
========================================
Files 253 253
Lines 19553 19553
========================================
Hits 19466 19466
Misses 87 87 ☔ View full report in Codecov by Sentry. |
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.
Looks good, thanks!
@all-contributors please add @kratman for bug fixes |
I've put up a pull request to add @kratman! 🎉 |
Description
Matplotlib updated to 3.8 on Friday. Since then the line
causes the following error:
I have replaced the prop_cycler with a cycler object and configured it with a generic color order. This was the most minimal change I could think of to resolve the issue. I am open to suggestions for a specific color set or I can just remove the explicit cycler and let matplotlib handle the colors itself. The latter also resolves the issue.
Fixes #3346
Type of change
Key checklist:
$ pre-commit run
(or$ nox -s pre-commit
) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)$ python run-tests.py --all
(or$ nox -s tests
)$ python run-tests.py --doctest
(or$ nox -s doctests
)You can run integration tests, unit tests, and doctests together at once, using
$ python run-tests.py --quick
(or$ nox -s quick
).Further checks: