-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CLN: clean color selection in _matplotlib/style #37203
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
0f1b99a
REF: extract functions
ivanovmg 901453a
CLN: remove try/except/ZeroDivisionError
ivanovmg 201b25f
REF: drop unnecesasry if statement
ivanovmg 8e13df5
CLN: simplify logic
ivanovmg 37a820d
DOC: add short docstrings
ivanovmg 3883a13
CLN: simplify logic further
ivanovmg f93743c
TYP: add type annotations
ivanovmg b4c3267
REF: more explicitly handle string color
ivanovmg 6af1543
FIX: fix mpl registry reset
ivanovmg 31125f7
TYP: fix typing in _get_colors_from_color
ivanovmg 45647a4
CLN: eliminate use of legacy "axes.color_cycle"
ivanovmg 393ae46
REF: extract generator function to simplify logic
ivanovmg fe66213
TST: add tests for get_standard_colors
ivanovmg 1626108
CLN: drop list comprehension for generator expr
ivanovmg 79b0f08
TYP: annotate get_standard_colors
ivanovmg f513bdb
DEP: add testing dependency (cycler)
ivanovmg 76f7663
Remove test_style temporary
ivanovmg 0f0f4bc
BLD: remove cycler from dependencies temporary
ivanovmg b8daf79
Revert "Remove test_style temporary"
ivanovmg 37734e8
REF: import cycler from matplotlib.pyplot
ivanovmg 765836f
TST: mark test skip if no mpl
ivanovmg 4479e37
Merge branch 'master' into cleanup/matplotlib-style
ivanovmg dd9efd7
Merge branch 'master' into cleanup/matplotlib-style
ivanovmg f0ea701
REF: use pytest.importorskip
ivanovmg dedd0dd
REF: extract new method _is_single_color
ivanovmg b369834
DOC: add/update docstrings
ivanovmg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.