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

Table Of Contents

matplotlib.colors.PowerNorm

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

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

autoscale(A)[source]

Set vmin, vmax to min, max of A.

autoscale_None(A)[source]

autoscale only None-valued vmin or vmax.

inverse(value)[source]