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

Method set_minor_locator

lib/matplotlib/axis.py:2138–2152  ·  view source on GitHub ↗

Set the locator of the minor ticker. Parameters ---------- locator : `~matplotlib.ticker.Locator`

(self, locator)

Source from the content-addressed store, hash-verified

2136 self.stale = True
2137
2138 def set_minor_locator(self, locator):
2139 """
2140 Set the locator of the minor ticker.
2141
2142 Parameters
2143 ----------
2144 locator : `~matplotlib.ticker.Locator`
2145 """
2146 _api.check_isinstance(mticker.Locator, locator=locator)
2147 self.isDefault_minloc = False
2148 self.minor.locator = locator
2149 if self.minor.formatter:
2150 self.minor.formatter._set_locator(locator)
2151 locator.set_axis(self)
2152 self.stale = True
2153
2154 def set_pickradius(self, pickradius):
2155 """

Callers 15

minorticks_onMethod · 0.95
minorticks_offMethod · 0.95
_update_axisinfoMethod · 0.95
_set_tick_locationsMethod · 0.95
minorlocatorMethod · 0.80
update_ticksMethod · 0.80
minorticks_onMethod · 0.80
minorticks_offMethod · 0.80

Calls 2

_set_locatorMethod · 0.45
set_axisMethod · 0.45