Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Update two_scales.py example. #7455
Conversation
| -for tl in ax1.get_yticklabels(): | ||
| - tl.set_color('b') | ||
| - | ||
| +ax1.set_ylabel('exp', color='r') |
tacaswell
added this to the
2.0.1 (next bug fix release)
milestone
Nov 14, 2016
tacaswell
added the
Documentation
label
Nov 14, 2016
| -for tl in ax1.get_yticklabels(): | ||
| - tl.set_color('b') | ||
| - | ||
| +ax1.tick_params('y', color='b', labelcolor='b') |
NelleV
changed the title from
Update two_scales.py example. to [MRG+1] Update two_scales.py example.
Nov 14, 2016
|
Thanks @anntzer for the improvements! |
tacaswell
merged commit 048a7b4
into matplotlib:master
Nov 15, 2016
tacaswell
added a commit
that referenced
this pull request
Nov 15, 2016
|
|
tacaswell |
eace7a6
|
|
Thanks! Backported to v2.x as eace7a6 |
anntzer
deleted the
anntzer:update-example-two-scales branch
Nov 15, 2016
QuLogic
changed the title from
[MRG+1] Update two_scales.py example. to Update two_scales.py example.
Nov 15, 2016
QuLogic
modified the milestone: 2.0.1 (next bug fix release), 2.0 (style change major release)
Dec 7, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
anntzer commentedNov 14, 2016
The docstring refers to the non-existing
axes.py, and mentions havingto remove the rectangular frame, which is no longer the case. I also
suspect that it was written when
twinydidn't exist yet...Use
tick_paramsinstead of iterating over the ticks.