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 cb5042d commit 19baac5Copy full SHA for 19baac5
1 file changed
lib/matplotlib/ticker.py
@@ -1938,8 +1938,9 @@ def __init__(self, n=None):
1938
1939
def __call__(self):
1940
'Return the locations of the ticks'
1941
- if self.axis.get_scale() != 'linear':
1942
- warnings.warn('AutoMinorLocator only works with linear scale')
+ if self.axis.get_scale() == 'log':
+ warnings.warn('AutoMinorLocator does not work with logarithmic '
1943
+ 'scale')
1944
return []
1945
1946
majorlocs = self.axis.get_majorticklocs()
0 commit comments