Calculate the approximate “edge” values given a 2D grid of “center” values. The size of both axes is increased by one. This is used internally to calculate graticule edges when you supply centers to pseudocolor plot commands.
z (array-like) – A 2D array.
numpy.ndarray– Array of “edge” coordinates.