edges2d
- edges2d(z)[source]
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 coordinate edges when you supply coordinate to pseudocolor commands.
- Parameters:
z (array-like) – A 2D array.
- Returns:
numpy.ndarray– Array of “edge” coordinates.