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

Method set_locs

lib/matplotlib/ticker.py:291–298  ·  view source on GitHub ↗

Set the locations of the ticks. This method is called before computing the tick labels because some formatters need to know all tick locations to do so.

(self, locs)

Source from the content-addressed store, hash-verified

289 return ''
290
291 def set_locs(self, locs):
292 """
293 Set the locations of the ticks.
294
295 This method is called before computing the tick labels because some
296 formatters need to know all tick locations to do so.
297 """
298 self._locs = locs
299
300 @staticmethod
301 def fix_minus(s):

Callers 4

format_ticksMethod · 0.95
legend_elementsMethod · 0.45
_sub_labelsMethod · 0.45
test_sublabelMethod · 0.45

Calls

no outgoing calls

Tested by 2

_sub_labelsMethod · 0.36
test_sublabelMethod · 0.36