-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
ENH: Stricter validation of line style rcParams (and extended accepted types for grid.linestyle
)
#8040
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
NelleV
merged 15 commits into
matplotlib:master
from
afvincent:wip_relax_grid_ls_validation
Feb 18, 2017
Merged
ENH: Stricter validation of line style rcParams (and extended accepted types for grid.linestyle
)
#8040
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
061061b
extend 'grid.linestyle' valid types to on-off ink sequences
afvincent 5be29b5
extend 'add test for the new function 'validate_grid_linestyle'
afvincent 25efd07
fix a small typo
afvincent 5cb183c
Relax validation for all ls-related rcParams but contour.negative_lin…
afvincent d9ff6a8
Check that strings are valid line styles
afvincent 44c3fde
fix PEP8
afvincent e8032df
use validate_linestyle even for rcParam 'contour.negative_linestyle'
afvincent 2673585
Reintroduce former public validators for negative contours (but they …
afvincent 7bd9bfe
make validate_linestyle private and case insensitive (+ adapt relevan…
afvincent ad21964
Remove deprecation warning in 'validate_negative_linestyle_legacy'
afvincent 7ab75f5
Deprecate former validation schemes used by 'contour.negative_linestyle'
afvincent 59328e6
Fix typo (a forgotten 'return' statement...)
afvincent 70e87c8
Fix the deprecation decorators
afvincent c060842
Add a what's new entry
afvincent aabf385
Fix a typo with the example in the what's new entry
afvincent 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
Deprecate former validation schemes used by 'contour.negative_linestyle'
- Loading branch information
commit 7ab75f5eddf02007f90ff694a94ed19a9f1630e5
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
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.
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.
Why can't we deprecate this "for sure"?
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.
So, something like
would be better?
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.
Yes :D
I suggest deprecating this in 2.1, which means no backporting. Is that a problem?