You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Applications are open for the 2018 John Hunter Matplotlib Summer Fellowship. Apply now!
Version 2.2.2.post1336+gc1f0072e7
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]