### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.7 Manual (DRAFT) »
- NumPy Reference »
- Array objects »
- The N-dimensional array (`ndarray`) »

# numpy.ndarray.ptp

`ndarray.``ptp`(axis=None, out=None)

  Peak to peak (maximum - minimum) value along a given axis.

  Refer to `numpy.ptp` for full documentation.

  See also

  `numpy.ptp`
    equivalent function

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.7 Manual (DRAFT) »
- NumPy Reference »
- Array objects »
- The N-dimensional array (`ndarray`) »