Sorry mistake sneaked in, correct patch is:

--- axes.py.old 2008-11-22 18:15:17.000000000 +0100
+++ axes.py     2008-11-22 18:24:09.000000000 +0100
@@ -1480,6 +1480,11 @@
         """
         # if image data only just use the datalim
         if not self._autoscaleon: return
+
+        if iterable(self._autoscaleon):
+            scalex = scalex and self._autoscaleon[0]
+            scaley = scaley and self._autoscaleon[1]
+
         if scalex:
             xshared = self._shared_x_axes.get_siblings(self)
             dl = [ax.dataLim for ax in xshared]


-------------------------------------------------------------------------
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-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to