### Navigation

- index
- modules |
- next |
- previous |
- home|
- examples|
- tutorials|
- pyplot|
- docs »
- The Matplotlib API »
- colors »

# matplotlib.colors.PowerNorm

class `matplotlib.colors.``PowerNorm`(gamma, vmin=None, vmax=None, clip=False)

  Normalize a given value to the `[0, 1]` interval with a power-law scaling. This will clip any negative data points to 0.

## Examples using `matplotlib.colors.PowerNorm`

Exploring normalizations

Shaded & power normalized rendering

Colormap Normalizations

Colormap Normalizations Power

Colormap Normalization