Revision: 6298
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6298&view=rev
Author: efiring
Date: 2008-10-22 19:28:14 +0000 (Wed, 22 Oct 2008)
Log Message:
-----------
update backend_driver for new location of two_scales.py
Modified Paths:
--------------
trunk/matplotlib/examples/api/two_scales.py
trunk/matplotlib/examples/tests/backend_driver.py
Modified: trunk/matplotlib/examples/api/two_scales.py
===================================================================
--- trunk/matplotlib/examples/api/two_scales.py 2008-10-22 18:45:10 UTC (rev
6297)
+++ trunk/matplotlib/examples/api/two_scales.py 2008-10-22 19:28:14 UTC (rev
6298)
@@ -11,12 +11,14 @@
separate matplotlib.ticker formatters and locators as desired since
the two axes are independent.
-This is acheived in the following example by calling pylab's twinx()
-function, which performs this work. See the source of twinx() in
-pylab.py for an example of how to do it for different x scales. (Hint:
+This is achieved in the following example by calling the Axes.twinx()
+method, which performs this work. See the source of twinx() in
+axes.py for an example of how to do it for different x scales. (Hint:
use the xaxis instance and call tick_bottom and tick_top in place of
tick_left and tick_right.)
+The twinx and twiny methods are also exposed as pyplot functions.
+
"""
import numpy as np
Modified: trunk/matplotlib/examples/tests/backend_driver.py
===================================================================
--- trunk/matplotlib/examples/tests/backend_driver.py 2008-10-22 18:45:10 UTC
(rev 6297)
+++ trunk/matplotlib/examples/tests/backend_driver.py 2008-10-22 19:28:14 UTC
(rev 6298)
@@ -117,7 +117,7 @@
'text_rotation.py',
'text_themes.py',
# 'tex_demo.py',
- 'two_scales.py',
+# 'two_scales.py',
'unicode_demo.py',
'vline_demo.py',
'xcorr_demo.py',
@@ -132,7 +132,8 @@
'color_cycle.py',
'donut_demo.py',
'path_patch_demo.py',
- 'quad_bezier.py'
+ 'quad_bezier.py',
+ 'two_scales.py'
]
units_dir = os.path.join('..', 'units')
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins