Identical to numpy.arange
but with inclusive endpoints. For example, pplt.arange(2, 4)
returns the numpy array [2, 3, 4]
instead of [2, 3]
. This is useful for generating lists of tick locations or colormap levels, e.g. ax.format(xlocator=pplt.arange(0, 10))
or ax.pcolor(levels=pplt.arange(0, 10))
.
*args (float
) – If three arguments are passed, these are the minimum, maximum, and step size. If fewer than three arguments are passed, the step size is 1
. If one argument is passed, this is the maximum, and the minimum is 0
.
numpy.ndarray
– Array of points.
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