edges¶
- edges(z, axis=- 1)[source]¶
Calculate the approximate “edge” values along an axis given “center” values. This is used internally to calculate graticule edges when you supply centers to
pcolororpcolormesh. It is also used to calculate colormap level boundaries when you supply centers to plotting methods wrapped byapply_cmap.