SgnScalarFormatter
full name:
mplotter.annotating.SgnScalarFormatter
type: class
Inheritance Diagram
digraph inheritance76de050f36 { 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)"]; "ScalarFormatter" [URL="https://matplotlib.org/stable/api/ticker_api.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)"]; "SgnScalarFormatter" [URL="mplotter.annotating.SgnScalarFormatter.html#mplotter.annotating.SgnScalarFormatter",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" -> "SgnScalarFormatter" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ScalarFormatter" -> "SgnScalarFormatter" [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. |
|
Return scientific notation, plus offset. |
|
Return whether locale settings are used for formatting. |
|
Return whether to use fancy math formatting. |
|
Return whether automatic mode for offset notation is active. |
|
|
Set the locations of the ticks. |
|
|
Set size thresholds for scientific notation. |
|
Turn scientific notation on or off. |
|
Set whether to use locale settings for decimal sign and positive sign. |
|
Set whether to use fancy math formatting. |
|
Set whether to use offset notation. |
Attributes and Properties
|
|
|
|
|
Return whether locale settings are used for formatting. |
|
Return whether to use fancy math formatting. |
|
Return whether automatic mode for offset notation is active. |
- class SgnScalarFormatter(sign=None, **kwargs)[source]
Bases:
SignedFormatter
,ScalarFormatter