[ Web Proxy ]
URL:
Viewing: https://matplotlib.org/stable/api/_as_gen/matplotlib.axis.Axis.get_ticklocs.html [Back]  [Original]

matplotlib.axis.Axis.get_ticklocs — Matplotlib 3.11.2 documentation
Back to top
Search the docs ...:

matplotlib.axis.Axis.get_ticklocs#

Axis.get_ticklocs(*, minor=False)[source]#

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:
minorbool, default: False

True to return the minor tick directions, False to return the major tick directions.

Returns:
array of tick locations

Web Proxy Viewer  |  New URL  |  Original Page