You are reading an old version of the documentation (v3.1.0). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.colors.PowerNorm.html
Version 3.1.0
matplotlib
Fork me on GitHub

Table of Contents

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]