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

Method update_ticks

lib/matplotlib/colorbar.py:833–841  ·  view source on GitHub ↗

Set up the ticks and ticklabels. This should not be needed by users.

(self)

Source from the content-addressed store, hash-verified

831 self.stale = True
832
833 def update_ticks(self):
834 """
835 Set up the ticks and ticklabels. This should not be needed by users.
836 """
837 # Get the locator and formatter; defaults to self._locator if not None.
838 self._get_ticker_locator_formatter()
839 self.long_axis.set_major_locator(self._locator)
840 self.long_axis.set_minor_locator(self._minorlocator)
841 self.long_axis.set_major_formatter(self._formatter)
842
843 def _get_ticker_locator_formatter(self):
844 """

Callers 1

_draw_allMethod · 0.95

Calls 4

set_minor_locatorMethod · 0.80
set_major_locatorMethod · 0.45
set_major_formatterMethod · 0.45

Tested by

no test coverage detected