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.
mpl.ticker.LogFormatter.label_minor
1 parent 273da36 commit 61ad51bCopy full SHA for 61ad51b
lib/matplotlib/ticker.py
@@ -831,13 +831,13 @@ def base(self, base):
831
"""
832
self._base = base
833
834
- def label_minor(self, labelOnlyBase):
+ def label_minor(self, labelMinor):
835
836
Switch minor tick labeling on or off.
837
838
- ``labelOnlyBase=True`` to turn off minor ticks.
+ `labelMinor` is a boolean flag.
839
840
- self.labelOnlyBase = labelOnlyBase
+ self.labelOnlyBase = not labelMinor
841
842
def __call__(self, x, pos=None):
843
0 commit comments