Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 012747b

Browse files
committed
axisartist: FormatterPrettyPrint turns off offset by default
1 parent 6055d8a commit 012747b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/axisartist/grid_finder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def set_factor(self, f):
300300

301301
class FormatterPrettyPrint(object):
302302
def __init__(self, useMathText=True):
303-
self._fmt = mticker.ScalarFormatter(useMathText=useMathText)
303+
self._fmt = mticker.ScalarFormatter(useMathText=useMathText, useOffset=False)
304304
self._fmt.create_dummy_axis()
305305
self._ignore_factor = True
306306

0 commit comments

Comments
 (0)