W3cubDocs

/Matplotlib 3.1

matplotlib.colors.PowerNorm

class matplotlib.colors.PowerNorm(gamma, vmin=None, vmax=None, clip=False) [source]

Bases: matplotlib.colors.Normalize

Linearly map a given value to the 0-1 range and then apply a power-law normalization over that range.

inverse(self, value) [source]

Examples using matplotlib.colors.PowerNorm

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.colors.PowerNorm.html