8000 Updated docstring to reflect what the program actually does. · matplotlib/matplotlib@87f048c · GitHub
[go: up one dir, main page]

Skip to content

Commit 87f048c

Browse files
committed
Updated docstring to reflect what the program actually does.
svn path=/trunk/matplotlib/; revision=1168
1 parent 23eb258 commit 87f048c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

examples/two_scales.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@
99
frame off on the 2nd axes to keep it from obscuring the first.
1010
Manually set the tick locs and labels as desired. You can use
1111
separate matplotlib.ticker formatters and locators as desired since
12-
the two axes are independent
12+
the two axes are independent.
1313
14-
To do the same with different x scales, use the xaxis instance and
15-
call tick_bottom and tick_top in place of tick_left and tick_right
14+
This is acheived in the following example by calling pylab's twinx()
15+
function, which performs this work. See the source of twinx() in
16+
pylab.py for an example of how to do it for different x scales. (Hint:
17+
use the xaxis instance and call tick_bottom and tick_top in place of
18+
tick_left and tick_right.)
1619
1720
"""
1821

0 commit comments

Comments
 (0)
0