matplotlib.testing.jpl_units.UnitDblFormatter

UnitDblFormatter module containing class UnitDblFormatter.

Classes

class matplotlib.testing.jpl_units.UnitDblFormatter.UnitDblFormatter(useOffset=None, useMathText=None, useLocale=None)

The formatter for UnitDbl data types.

This allows for formatting with the unit string.

Inheritance

digraph inheritance847a310666 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Formatter" [URL="matplotlib.ticker.html#matplotlib.ticker.Formatter",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="Create a string based on a tick value and location."]; "TickHelper" -> "Formatter" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ScalarFormatter" [URL="matplotlib.ticker.html#matplotlib.ticker.ScalarFormatter",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="Format tick values as a number."]; "Formatter" -> "ScalarFormatter" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TickHelper" [URL="matplotlib.ticker.html#matplotlib.ticker.TickHelper",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"]; "UnitDblFormatter" [URL="#matplotlib.testing.jpl_units.UnitDblFormatter.UnitDblFormatter",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="The formatter for UnitDbl data types."]; "ScalarFormatter" -> "UnitDblFormatter" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
format_data(value)

Return the full string representation of the value with the position unspecified.

format_data_short(value)

Return a short string version of the tick value.

Defaults to the position-independent long value.