from the current version.
this causes trouble if the axis is very big, with values of, day 1e35.
diff -u /home/alex/mpl/usr/lib64/python3.3/site-packages/matplotlib/ticker.py~
/home/alex/mpl/usr/lib64/python3.3/site-packages/matplotlib/ticker.py
--- /home/alex/mpl/usr/lib64/python3.3/site-packages/matplotlib/ticker.py~
2013-05-10 16:43:44.000000000 +1000
+++ /home/alex/mpl/usr/lib64/python3.3/site-packages/matplotlib/ticker.py
2013-05-10 17:44:35.385288785 +1000
@@ -536,7 +536,7 @@
_locs = list(self.locs) + [vmin, vmax]
else:
_locs = self.locs
- locs = (np.asarray(_locs) - self.offset) / 10 ** self.orderOfMagnitude
+ locs = (np.asarray(_locs) - self.offset) / 10. ** self.orderOfMagnitude
loc_range = np.ptp(locs)
if len(self.locs) < 2:
# We needed the end points only for the loc_range calculation.