From: <dmk...@us...> - 2008-07-25 10:22:33
|
Revision: 5868 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5868&view=rev Author: dmkaplan Date: 2008-07-25 10:22:29 +0000 (Fri, 25 Jul 2008) Log Message: ----------- Committing a small change to make twinx share axes like twiny. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/axes.py Modified: trunk/matplotlib/lib/matplotlib/axes.py =================================================================== --- trunk/matplotlib/lib/matplotlib/axes.py 2008-07-25 06:30:52 UTC (rev 5867) +++ trunk/matplotlib/lib/matplotlib/axes.py 2008-07-25 10:22:29 UTC (rev 5868) @@ -6006,7 +6006,7 @@ right """ - ax2 = self.figure.add_axes(self.get_position(True), # sharex=self, + ax2 = self.figure.add_axes(self.get_position(True), sharex=self, frameon=False) ax2.yaxis.tick_right() ax2.yaxis.set_label_position('right') This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |