From: <ef...@us...> - 2008-10-24 17:40:59
|
Revision: 6326 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6326&view=rev Author: efiring Date: 2008-10-24 17:40:54 +0000 (Fri, 24 Oct 2008) Log Message: ----------- Fix error in recent shared axes changes; thanks to David Trem. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/axes.py Modified: trunk/matplotlib/lib/matplotlib/axes.py =================================================================== --- trunk/matplotlib/lib/matplotlib/axes.py 2008-10-24 17:35:50 UTC (rev 6325) +++ trunk/matplotlib/lib/matplotlib/axes.py 2008-10-24 17:40:54 UTC (rev 6326) @@ -512,8 +512,8 @@ self._adjustable = 'datalim' if sharey is not None: self._shared_y_axes.join(self, sharey) - if sharex._adjustable == 'box': - sharex._adjustable = 'datalim' + if sharey._adjustable == 'box': + sharey._adjustable = 'datalim' #warnings.warn( # 'shared axes: "adjustable" is being changed to "datalim"') self._adjustable = 'datalim' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |