Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83dcd31

Browse files
committed
update backend_driver for new location of two_scales.py
svn path=/trunk/matplotlib/; revision=6298
1 parent b14af91 commit 83dcd31

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

examples/api/two_scales.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@
1111
separate matplotlib.ticker formatters and locators as desired since
1212
the two axes are independent.
1313
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:
14+
This is achieved in the following example by calling the Axes.twinx()
15+
method, which performs this work. See the source of twinx() in
16+
axes.py for an example of how to do it for different x scales. (Hint:
1717
use the xaxis instance and call tick_bottom and tick_top in place of
1818
tick_left and tick_right.)
1919
20+
The twinx and twiny methods are also exposed as pyplot functions.
21+
2022
"""
2123

2224
import numpy as np

examples/tests/backend_driver.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
'text_rotation.py',
118118
'text_themes.py',
119119
# 'tex_demo.py',
120-
'two_scales.py',
120+
# 'two_scales.py',
121121
'unicode_demo.py',
122122
'vline_demo.py',
123123
'xcorr_demo.py',
@@ -132,7 +132,8 @@
132132
'color_cycle.py',
133133
'donut_demo.py',
134134
'path_patch_demo.py',
135-
'quad_bezier.py'
135+
'quad_bezier.py',
136+
'two_scales.py'
136137
]
137138

138139
units_dir = os.path.join('..', 'units')

0 commit comments

Comments
 (0)