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

Method get_ticklocs

lib/matplotlib/axis.py:1693–1710  ·  view source on GitHub ↗

Return this Axis' tick locations in data coordinates. The locations are not clipped to the current axis limits and hence may contain locations that are not visible in the output. Parameters ---------- minor : bool, default: False True to

(self, *, minor=False)

Source from the content-addressed store, hash-verified

1691 return minor_locs
1692
1693 def get_ticklocs(self, *, minor=False):
1694 """
1695 Return this Axis' tick locations in data coordinates.
1696
1697 The locations are not clipped to the current axis limits and hence
1698 may contain locations that are not visible in the output.
1699
1700 Parameters
1701 ----------
1702 minor : bool, default: False
1703 True to return the minor tick directions,
1704 False to return the major tick directions.
1705
1706 Returns
1707 -------
1708 array of tick locations
1709 """
1710 return self.get_minorticklocs() if minor else self.get_majorticklocs()
1711
1712 def get_ticks_direction(self, minor=False):
1713 """

Callers 10

_set_scaleMethod · 0.80
test_colorbar_ticksFunction · 0.80
test_colorbar_autoticksFunction · 0.80
test_basicMethod · 0.80
test_additionalMethod · 0.80
convertMethod · 0.80

Calls 2

get_minorticklocsMethod · 0.95
get_majorticklocsMethod · 0.95

Tested by 8

test_colorbar_ticksFunction · 0.64
test_colorbar_autoticksFunction · 0.64
test_basicMethod · 0.64
test_additionalMethod · 0.64