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

Method set_locs

lib/matplotlib/ticker.py:795–802  ·  view source on GitHub ↗
(self, locs)

Source from the content-addressed store, hash-verified

793 return ''
794
795 def set_locs(self, locs):
796 # docstring inherited
797 self._locs = locs
798 if len(self._locs) > 0:
799 if self._useOffset:
800 self._compute_offset()
801 self._set_order_of_magnitude()
802 self._set_format()
803
804 def _compute_offset(self):
805 locs = self._locs

Callers 3

test_use_localeMethod · 0.95
test_scilimitsMethod · 0.95
test_empty_locsMethod · 0.95

Calls 3

_compute_offsetMethod · 0.95
_set_formatMethod · 0.95

Tested by 3

test_use_localeMethod · 0.76
test_scilimitsMethod · 0.76
test_empty_locsMethod · 0.76