- edges(z, axis=- 1)[source]¶
Calculate the approximate “edge” values along an axis given “center” values. The size of the axis is increased by one. This is used internally to calculate graticule edges when you supply centers to pseudocolor commands.
z (array-like) – An array of any shape.
int, optional) – The axis along which “edges” are calculated. The size of this axis will be increased by one.
numpy.ndarray– Array of “edge” coordinates.