From: <md...@us...> - 2008-01-23 18:27:20
|
Revision: 4890 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4890&view=rev Author: mdboom Date: 2008-01-23 10:27:05 -0800 (Wed, 23 Jan 2008) Log Message: ----------- Fix relim again (thanks Darren Dale) Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/axes.py Modified: trunk/matplotlib/lib/matplotlib/axes.py =================================================================== --- trunk/matplotlib/lib/matplotlib/axes.py 2008-01-23 18:13:40 UTC (rev 4889) +++ trunk/matplotlib/lib/matplotlib/axes.py 2008-01-23 18:27:05 UTC (rev 4890) @@ -1200,12 +1200,11 @@ def relim(self): 'recompute the datalimits based on current artists' self.dataLim.ignore(True) + self.ignore_existing_data_limits = True for line in self.lines: - self.ignore_existing_data_limits = True self._update_line_limits(line) for p in self.patches: - self.ignore_existing_data_limits = True self._update_patch_limits(p) def update_datalim(self, xys): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |