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

Method minorticks_on

lib/matplotlib/colorbar.py:965–970  ·  view source on GitHub ↗

Turn on colorbar minor ticks.

(self)

Source from the content-addressed store, hash-verified

963 self.long_axis.set_ticklabels(ticklabels, minor=minor, **kwargs)
964
965 def minorticks_on(self):
966 """
967 Turn on colorbar minor ticks.
968 """
969 self.ax.minorticks_on()
970 self._short_axis().set_minor_locator(ticker.NullLocator())
971
972 def minorticks_off(self):
973 """Turn the minor ticks of the colorbar off."""

Callers 1

_draw_allMethod · 0.95

Calls 2

_short_axisMethod · 0.95
set_minor_locatorMethod · 0.80

Tested by

no test coverage detected