-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[Doc]: Use tick_params() instead of iterating over tick labels for setting tick properties #23372
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
Comments
Possibly also iteration over |
Also, many of these calls set |
QuLogic
added a commit
to QuLogic/matplotlib
that referenced
this issue
Jun 30, 2022
Related to, but does not completely fix, matplotlib#23372.
2 tasks
QuLogic
added a commit
to QuLogic/matplotlib
that referenced
this issue
Jul 1, 2022
Related to, but does not completely fix, matplotlib#23372.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Documentation Link
No response
Problem
At first sight, the effects of (1)
and (2)
look similar.
However, the first solution is to be preferred:
Suggested improvement
examples
andtutorials
files. Suggest regular expressionin.*ticklabels\(\)
for
loop with a call totick_params()
. (Note: Not every property of ticks is accessible throughtick_params()
so there may be some rare cases that cannot be replaced as of now.)The text was updated successfully, but these errors were encountered: