arange

arange(min_, *args)[source]

Identical to numpy.arange but with inclusive endpoints. For example, plot.arange(2,4) returns np.array([2,3,4]) instead of np.array([2,3]). This command is useful for generating lists of tick locations or colorbar level boundaries.