SSDecimalFormatter
full name:
mplotter.annotating.SSDecimalFormatter
type: class
Inheritance Diagram
digraph inheritance7e7282aa03 { bgcolor=transparent; fontsize=12; rankdir=TB; ratio=compress; size="8.0, 12.0"; "Formatter" [URL="https://matplotlib.org/stable/api/ticker_api.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)"]; "SSDecimalFormatter" [URL="mplotter.annotating.SSDecimalFormatter.html#mplotter.annotating.SSDecimalFormatter",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"]; "SignedFormatter" -> "SSDecimalFormatter" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ScaledFormatter" -> "SSDecimalFormatter" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ScaledFormatter" [URL="mplotter.annotating.ScaledFormatter.html#mplotter.annotating.ScaledFormatter",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"]; "Formatter" -> "ScaledFormatter" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SignedFormatter" [URL="mplotter.annotating.SignedFormatter.html#mplotter.annotating.SignedFormatter",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"]; "Formatter" -> "SignedFormatter" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TickHelper" [URL="https://matplotlib.org/stable/api/ticker_api.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"]; }Methods
|
|
|
|
|
Some classes may want to replace a hyphen for minus with the proper Unicode symbol (U+2212) for typographical correctness. |
|
Return the full string representation of the value with the position unspecified. |
|
Return a short string version of the tick value. |
|
Return the tick labels for all the ticks at once. |
|
|
|
|
|
Set the locations of the ticks. |
Attributes and Properties
|
|
|
- class SSDecimalFormatter(digits, sign=None, sign_zero=True, unit=1)[source]
Bases:
SignedFormatter
,ScaledFormatter