matplotlib.testing.jpl_units.UnitDblConverter

UnitDblConverter module containing class UnitDblConverter.

Classes

  • UnitDblConverter: Provides Matplotlib conversion functionality for the Monte UnitDbl class.

class matplotlib.testing.jpl_units.UnitDblConverter.UnitDblConverter

Provides Matplotlib conversion functionality for the Monte UnitDbl class.

Inheritance

digraph inheritanceb85ad1ba07 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ConversionInterface" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="The minimal interface for a converter to take custom data types (or"]; "UnitDblConverter" [URL="#matplotlib.testing.jpl_units.UnitDblConverter.UnitDblConverter",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Provides Matplotlib conversion functionality for the Monte UnitDbl class."]; "ConversionInterface" -> "UnitDblConverter" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
static axisinfo(unit, axis)

Return an .AxisInfo for the axis with the specified units.

static convert(value, unit, axis)

Convert obj using unit for the specified axis.

If obj is a sequence, return the converted sequence. The output must be a sequence of scalars that can be used by the numpy array layer.

static default_units(value, axis)

Return the default unit for x or None for the given axis.