|
From: <lee...@us...> - 2010-12-29 08:30:38
|
Revision: 8853
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8853&view=rev
Author: leejjoon
Date: 2010-12-29 08:30:32 +0000 (Wed, 29 Dec 2010)
Log Message:
-----------
axes_grid1.grid_finder.FormatterPrettyPrint takes useMathText parameter
Modified Paths:
--------------
trunk/matplotlib/lib/mpl_toolkits/axisartist/grid_finder.py
Modified: trunk/matplotlib/lib/mpl_toolkits/axisartist/grid_finder.py
===================================================================
--- trunk/matplotlib/lib/mpl_toolkits/axisartist/grid_finder.py 2010-12-29 08:29:59 UTC (rev 8852)
+++ trunk/matplotlib/lib/mpl_toolkits/axisartist/grid_finder.py 2010-12-29 08:30:32 UTC (rev 8853)
@@ -298,8 +298,8 @@
# Tick Formatter
class FormatterPrettyPrint(object):
- def __init__(self):
- self._fmt = mticker.ScalarFormatter()
+ def __init__(self, useMathText=True):
+ self._fmt = mticker.ScalarFormatter(useMathText=useMathText)
self._fmt.create_dummy_axis()
self._ignore_factor = True
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|