MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / minorticks_off

Method minorticks_off

lib/matplotlib/colorbar.py:972–975  ·  view source on GitHub ↗

Turn the minor ticks of the colorbar off.

(self)

Source from the content-addressed store, hash-verified

970 self._short_axis().set_minor_locator(ticker.NullLocator())
971
972 def minorticks_off(self):
973 """Turn the minor ticks of the colorbar off."""
974 self._minorlocator = ticker.NullLocator()
975 self.long_axis.set_minor_locator(self._minorlocator)
976
977 def set_label(self, label, *, loc=None, **kwargs):
978 """

Callers

nothing calls this directly

Calls 1

set_minor_locatorMethod · 0.80

Tested by

no test coverage detected