Hello matplotlib developers, I found useful to autoscale just one axis. Here is the quick noninvasive patch to illustrate the idea. Real solution should change whole autoscale_on semantics (get_, set_, docstrings). As I am not very familiar with your api standards I leave it to you.
Jozef Vesely [EMAIL PROTECTED] --- 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._autoscale_on): + scalex = scalex and self._autoscale_on[0] + scaley = scaley and self._autoscale_on[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