On this page
mpl_toolkits.axisartist.angle_helper.FormatterDMS
- class
mpl_toolkits.axisartist.angle_helper.
FormatterDMS
[source] -
Bases:
object
__call__
(direction, factor, values)[source]-
Call self as a function.
__dict__
= mappingproxy({'__module__': 'mpl_toolkits.axisartist.angle_helper', 'deg_mark': '^{\\circ}', 'min_mark': '^{\\prime}', 'sec_mark': '^{\\prime\\prime}', 'fmt_d': '$%d^{\\circ}$', 'fmt_ds': '$%d.%s^{\\circ}$', 'fmt_d_m': '$%s%d^{\\circ}\\,%02d^{\\prime}$', 'fmt_d_ms': '$%s%d^{\\circ}\\,%02d.%s^{\\prime}$', 'fmt_d_m_partial': '$%s%d^{\\circ}\\,%02d^{\\prime}\\,', 'fmt_s_partial': '%02d^{\\prime\\prime}$', 'fmt_ss_partial': '%02d.%s^{\\prime\\prime}$', '_get_number_fraction': <function FormatterDMS._get_number_fraction>, '__call__': <function FormatterDMS.__call__>, '__dict__': <attribute '__dict__' of 'FormatterDMS' objects>, '__weakref__': <attribute '__weakref__' of 'FormatterDMS' objects>, '__doc__': None, '__annotations__': {}})
__module__
= 'mpl_toolkits.axisartist.angle_helper'
__weakref__
-
list of weak references to the object (if defined)
deg_mark
= '^{\\circ}'
fmt_d
= '$%d^{\\circ}$'
fmt_d_m
= '$%s%d^{\\circ}\\,%02d^{\\prime}$'
fmt_d_m_partial
= '$%s%d^{\\circ}\\,%02d^{\\prime}\\,'
fmt_d_ms
= '$%s%d^{\\circ}\\,%02d.%s^{\\prime}$'
fmt_ds
= '$%d.%s^{\\circ}$'
fmt_s_partial
= '%02d^{\\prime\\prime}$'
fmt_ss_partial
= '%02d.%s^{\\prime\\prime}$'
min_mark
= '^{\\prime}'
sec_mark
= '^{\\prime\\prime}'
Examples using mpl_toolkits.axisartist.angle_helper.FormatterDMS
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.3/api/_as_gen/mpl_toolkits.axisartist.angle_helper.FormatterDMS.html