From: <ry...@us...> - 2010-07-09 18:28:53
|
Revision: 8538 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8538&view=rev Author: ryanmay Date: 2010-07-09 18:28:47 +0000 (Fri, 09 Jul 2010) Log Message: ----------- Fix setting of minor ticklabels. As far as I can tell, the extra call to set_major_formatter is due to an SVN merge error from the transforms branch. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/axis.py Modified: trunk/matplotlib/lib/matplotlib/axis.py =================================================================== --- trunk/matplotlib/lib/matplotlib/axis.py 2010-07-09 18:21:30 UTC (rev 8537) +++ trunk/matplotlib/lib/matplotlib/axis.py 2010-07-09 18:28:47 UTC (rev 8538) @@ -1423,11 +1423,9 @@ self.set_minor_formatter(mticker.FixedFormatter(ticklabels)) ticks = self.get_minor_ticks() else: - self.set_major_formatter( mticker.FixedFormatter(ticklabels) ) + self.set_major_formatter(mticker.FixedFormatter(ticklabels)) ticks = self.get_major_ticks() - self.set_major_formatter( mticker.FixedFormatter(ticklabels) ) - ret1 = [] ret2 = [] for i, tick in enumerate(ticks): @@ -1985,5 +1983,3 @@ self.axes.dataLim.intervaly = ymin, ymax if not viewMutated: self.axes.viewLim.intervaly = ymin, ymax - - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |