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

Method locator

lib/matplotlib/colorbar.py:458–460  ·  view source on GitHub ↗

Major tick `.Locator` for the colorbar.

(self)

Source from the content-addressed store, hash-verified

456
457 @property
458 def locator(self):
459 """Major tick `.Locator` for the colorbar."""
460 return self.long_axis.get_major_locator()
461
462 @locator.setter
463 def locator(self, loc):

Callers

nothing calls this directly

Calls 2

get_major_locatorMethod · 0.80
set_major_locatorMethod · 0.45

Tested by

no test coverage detected