Return a Locator
instance.
locator (Locator
, str
, bool
, float
, or sequence) – The locator specification, interpreted as follows:
If a Locator
instance already, a copy.copy
of the instance is returned.
If False
, a NullLocator
is used, and if True
, the default AutoLocator
is used.
If a number, this specifies the step size between tick locations. Returns a MultipleLocator
.
If a sequence of numbers, these points are ticked. Returns a FixedLocator
by default or a DiscreteLocator
if discrete
is True
.
Otherwise, locator
should be a string corresponding to one of the “registered” locators (see below table). If locator
is a list or tuple and the first element is a “registered” locator name, subsequent elements are passed to the locator class as positional arguments. For example, pplt.Locator(('multiple', 5))
is equivalent to pplt.Locator('multiple', 5)
.
*args, **kwargs – Passed to the Locator
class.
matplotlib.ticker.Locator
– A Locator
instance.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4