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

Skip to content

Commit d29c2f1

Browse files
committed
Fix default minor formatter bug
1 parent 9833a7e commit d29c2f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎proplot/scale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def set_default_locators_and_formatters(self, axis, only_if_default=False):
123123
axis.isDefault_majfmt = True
124124
if not only_if_default or axis.isDefault_minfmt:
125125
formatter = self._default_minor_formatter
126-
formatter = copy.copy(formatter) if formatter else pticker.AutoFormatter()
126+
formatter = copy.copy(formatter) if formatter else mticker.NullFormatter()
127127
axis.set_minor_formatter(formatter)
128128
axis.isDefault_minfmt = True
129129

0 commit comments

Comments
 (0)