Revision: 6908 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6908&view=rev Author: ryanmay Date: 2009-02-12 20:59:53 +0000 (Thu, 12 Feb 2009)
Log Message: ----------- Update AxesImage for independent autoscaling of x and y axes. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/image.py Modified: trunk/matplotlib/lib/matplotlib/image.py =================================================================== --- trunk/matplotlib/lib/matplotlib/image.py 2009-02-12 20:06:50 UTC (rev 6907) +++ trunk/matplotlib/lib/matplotlib/image.py 2009-02-12 20:59:53 UTC (rev 6908) @@ -317,8 +317,9 @@ xmin, xmax, ymin, ymax = extent corners = (xmin, ymin), (xmax, ymax) self.axes.update_datalim(corners) - if self.axes._autoscaleon: + if self.axes._autoscaleXon: self.axes.set_xlim((xmin, xmax)) + if self.axes._autoscaleYon: self.axes.set_ylim((ymin, ymax)) def get_interpolation(self): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins