Revision: 7197
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7197&view=rev
Author: leejjoon
Date: 2009-06-07 17:36:51 +0000 (Sun, 07 Jun 2009)
Log Message:
-----------
fix axes_grid/demo_parasite_axes.py
Modified Paths:
--------------
trunk/matplotlib/examples/axes_grid/demo_parasite_axes.py
trunk/matplotlib/examples/axes_grid/demo_parasite_axes2.py
Modified: trunk/matplotlib/examples/axes_grid/demo_parasite_axes.py
===================================================================
--- trunk/matplotlib/examples/axes_grid/demo_parasite_axes.py 2009-06-07
15:48:05 UTC (rev 7196)
+++ trunk/matplotlib/examples/axes_grid/demo_parasite_axes.py 2009-06-07
17:36:51 UTC (rev 7197)
@@ -22,8 +22,9 @@
par2.set_ylabel("Velocity")
offset = (60, 0)
- new_axisline = par2._grid_helper.new_axisline
+ new_axisline = par2._grid_helper.new_fixed_axis
par2.axis["right2"] = new_axisline(loc="right",
+ axes=par2,
offset=offset)
Modified: trunk/matplotlib/examples/axes_grid/demo_parasite_axes2.py
===================================================================
--- trunk/matplotlib/examples/axes_grid/demo_parasite_axes2.py 2009-06-07
15:48:05 UTC (rev 7196)
+++ trunk/matplotlib/examples/axes_grid/demo_parasite_axes2.py 2009-06-07
17:36:51 UTC (rev 7197)
@@ -1,5 +1,4 @@
from mpl_toolkits.axes_grid.parasite_axes import SubplotHost
-import matplotlib.transforms as mtransforms
import matplotlib.pyplot as plt
if 1:
@@ -20,6 +19,7 @@
offset = 60, 0
new_axisline = par2.get_grid_helper().new_fixed_axis
par2.axis["right2"] = new_axisline(loc="right",
+ axes=par2,
offset=offset)
par2.axis["right2"].label.set_visible(True)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins