Scale
- Scale(scale, *args, **kwargs)[source]
Return a
ScaleBaseinstance.- Parameters:
scale (
ScaleBase,str, ortuple) – The axis scale specification. If aScaleBaseinstance already, acopy.copyof the instance is returned. Otherwise,scaleshould be a string corresponding to one of the “registered” axis scales or axis scale presets (see below table).If
scaleis a list or tuple and the first element is a “registered” scale name, subsequent elements are passed to the scale class as positional arguments.- Other Parameters:
*args, **kwargs – Passed to the
ScaleBaseclass.- Returns:
matplotlib.scale.ScaleBase– AScaleBaseinstance.