Skip to content

Commit 4efc9f9

Browse files
committed
axes_grid1.grid_finder.FormatterPrettyPrint takes useMathText parameter
svn path=/trunk/matplotlib/; revision=8853
1 parent 5e10932 commit 4efc9f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mpl_toolkits/axisartist/grid_finder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ def set_factor(self, f):
298298
# Tick Formatter
299299

300300
class FormatterPrettyPrint(object):
301-
def __init__(self):
302-
self._fmt = mticker.ScalarFormatter()
301+
def __init__(self, useMathText=True):
302+
self._fmt = mticker.ScalarFormatter(useMathText=useMathText)
303303
self._fmt.create_dummy_axis()
304304
self._ignore_factor = True
305305

0 commit comments

Comments
 (0)