Norm

Norm(norm, *args, **kwargs)[source]

Return an arbitrary Normalize instance. See this tutorial for an introduction to matplotlib normalizers.

Parameters

norm (str or Normalize) – The normalizer specification. If a Normalize instance already, the input argument is simply returned. Otherwise, norm should be a string corresponding to one of the “registered” colormap normalizers (see below table).

If norm is a list or tuple and the first element is a “registered” normalizer name, subsequent elements are passed to the normalizer class as positional arguments.

Key(s)

Class

'null', 'none'

NoNorm

'diverging', 'div'

DivergingNorm

'segmented', 'segments'

SegmentedNorm

'linear'

Normalize

'log'

LogNorm

'power'

PowerNorm

'symlog'

SymLogNorm

Other Parameters

*args, **kwargs – Passed to the Normalize initializer.

Returns

Normalize – A Normalize instance.