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

Method tick_values

lib/matplotlib/ticker.py:1732–1747  ·  view source on GitHub ↗

Return the values of the located ticks given **vmin** and **vmax**. .. note:: To get tick locations with the vmin and vmax values defined automatically for the associated ``axis`` simply call the Locator instance:: >>> print(type

(self, vmin, vmax)

Source from the content-addressed store, hash-verified

1730 MAXTICKS = 1000
1731
1732 def tick_values(self, vmin, vmax):
1733 """
1734 Return the values of the located ticks given **vmin** and **vmax**.
1735
1736 .. note::
1737 To get tick locations with the vmin and vmax values defined
1738 automatically for the associated ``axis`` simply call
1739 the Locator instance::
1740
1741 >>> print(type(loc))
1742 <type 'Locator'>
1743 >>> print(loc())
1744 [1, 2, 3, 4]
1745
1746 """
1747 raise NotImplementedError('Derived must override')
1748
1749 def set_params(self, **kwargs):
1750 """

Callers 7

__call__Method · 0.45
tick_valuesMethod · 0.45
tick_valuesMethod · 0.45
_autolevMethod · 0.45
test_yearlocator_pytzFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_yearlocator_pytzFunction · 0.36