-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Added missing side tick rcParams #6735
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
tacaswell
merged 2 commits into
matplotlib:master
from
bcongdon:feature_rcParam_side_tick
Jul 16, 2016
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
Next
Next commit
Added major/minor tick visibility params
- Loading branch information
commit fc7c02604ea9e9debb9adea980740bf3319b3b49
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1175,6 +1175,12 @@ def validate_animation_writer_path(p): | |
'xtick.color': ['k', validate_color], # color of the xtick labels | ||
'xtick.minor.visible': [False, validate_bool], # visiablility of the x axis minor ticks | ||
|
||
'xtick.minor.top': [True, validate_bool], # visability of the x axis top minor ticks | ||
'xtick.minor.bottom': [True, validate_bool], # visability of the x axis bottom minor ticks | ||
'xtick.major.top': [True, validate_bool], # visability of the x axis top major ticks | ||
'xtick.major.bottom': [True, validate_bool], # visability of the x axis bottom major ticks | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Extra blank line. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed. |
||
|
||
# fontsize of the xtick labels | ||
'xtick.labelsize': ['medium', validate_fontsize], | ||
'xtick.direction': ['out', six.text_type], # direction of xticks | ||
|
@@ -1190,6 +1196,11 @@ def validate_animation_writer_path(p): | |
'ytick.color': ['k', validate_color], # color of the ytick labels | ||
'ytick.minor.visible': [False, validate_bool], # visiablility of the y axis minor ticks | ||
|
||
'ytick.minor.left': [True, validate_bool], # visability of the y axis top minor ticks | ||
'ytick.minor.right': [True, validate_bool], # visability of the y axis bottom minor ticks | ||
'ytick.major.left': [True, validate_bool], # visability of the y axis top major ticks | ||
'ytick.major.right': [True, validate_bool], # visability of the y axis bottom major ticks | ||
|
||
# fontsize of the ytick labels | ||
'ytick.labelsize': ['medium', validate_fontsize], | ||
'ytick.direction': ['out', six.text_type], # direction of yticks | ||
|
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.
This alignment is a bit confusing. I'm pretty sure you could put each parameter on its own line with an extra indent, and it should fix within 79 chars.
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.
I agree that is a bit confusing, however they both don't fit on the same line within 79 characters.
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.
Bottom is the longest, and should be 79 if moved to its own line. I mean like this:
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.
Right. Thanks!