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.

-------------------------------------------------------------------------
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

Reply via email to