Revision: 8274 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8274&view=rev Author: efiring Date: 2010-04-26 21:11:03 +0000 (Mon, 26 Apr 2010)
Log Message: ----------- axes: set _tight default to False; restore previous nonsingular expander Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/axes.py Modified: trunk/matplotlib/lib/matplotlib/axes.py =================================================================== --- trunk/matplotlib/lib/matplotlib/axes.py 2010-04-26 20:37:14 UTC (rev 8273) +++ trunk/matplotlib/lib/matplotlib/axes.py 2010-04-26 21:11:03 UTC (rev 8274) @@ -838,7 +838,7 @@ self._autoscaleYon = True self._xmargin = 0 self._ymargin = 0 - self._tight = True + self._tight = False self._update_transScale() # needed? self._get_lines = _process_plot_var_args(self) @@ -1722,7 +1722,8 @@ dl = [ax.dataLim for ax in xshared] bb = mtransforms.BboxBase.union(dl) x0, x1 = bb.intervalx - x0, x1 = mtransforms.nonsingular(x0, x1, increasing=False) + x0, x1 = mtransforms.nonsingular(x0, x1, increasing=False, + expander=0.05) if self._xmargin > 0: delta = (x1 - x0) * self._xmargin x0 -= delta @@ -1736,7 +1737,8 @@ dl = [ax.dataLim for ax in yshared] bb = mtransforms.BboxBase.union(dl) y0, y1 = bb.intervaly - y0, y1 = mtransforms.nonsingular(y0, y1, increasing=False) + y0, y1 = mtransforms.nonsingular(y0, y1, increasing=False, + expander=0.05) if self._ymargin > 0: delta = (y1 - y0) * self._ymargin y0 -= delta 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