Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99d8900 commit fa4f868Copy full SHA for fa4f868
lib/matplotlib/scale.py
@@ -69,7 +69,8 @@ def set_default_locators_and_formatters(self, axis):
69
axis.set_major_formatter(ScalarFormatter())
70
axis.set_minor_formatter(NullFormatter())
71
# update the minor locator for x and y axis based on rcParams
72
- if rcParams['xtick.minor.visible']:
+ if axis.axis_name in list("xy") and \
73
+ rcParams['{}tick.minor.visible'.format(axis.axis_name)]:
74
axis.set_minor_locator(AutoMinorLocator())
75
else:
76
axis.set_minor_locator(NullLocator())
0 commit comments