You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 3.0.0rc1.post350+gf1a4d9821
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.

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]