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

Method get_major_locator

lib/matplotlib/axis.py:1776–1778  ·  view source on GitHub ↗

Get the locator of the major ticker.

(self)

Source from the content-addressed store, hash-verified

1774 return self.label.get_text()
1775
1776 def get_major_locator(self):
1777 """Get the locator of the major ticker."""
1778 return self.major.locator
1779
1780 def get_minor_locator(self):
1781 """Get the locator of the minor ticker."""

Callers 15

_set_axes_scaleMethod · 0.95
_set_limMethod · 0.95
_update_ticksMethod · 0.95
set_ticklabelsMethod · 0.95
_get_ticks_positionMethod · 0.95
_autoscale_axisMethod · 0.80
test_inset_locatorFunction · 0.80
test_inset_axesFunction · 0.80
locatorMethod · 0.80
set_ticksMethod · 0.80
_remove_axesMethod · 0.80

Calls

no outgoing calls

Tested by 10

test_inset_locatorFunction · 0.64
test_inset_axesFunction · 0.64
test_too_many_date_ticksFunction · 0.64
_helper_xFunction · 0.64
_helper_yFunction · 0.64
test_polar_theta_limitsFunction · 0.64