Revision: 8539
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8539&view=rev
Author: ryanmay
Date: 2010-07-09 18:30:07 +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:
--------------
branches/v1_0_maint/lib/matplotlib/axis.py
Modified: branches/v1_0_maint/lib/matplotlib/axis.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/axis.py 2010-07-09 18:28:47 UTC (rev
8538)
+++ branches/v1_0_maint/lib/matplotlib/axis.py 2010-07-09 18:30:07 UTC (rev
8539)
@@ -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.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins