On this page
mpl_toolkits.axisartist.grid_finder.DictFormatter
- class
mpl_toolkits.axisartist.grid_finder.
DictFormatter
(format_dict, formatter=None)[source] -
Bases:
object
format_dict : dictionary for format strings to be used. formatter : fall-back formatter
__call__
(direction, factor, values)[source]-
factor is ignored if value is found in the dictionary
__dict__
= mappingproxy({'__module__': 'mpl_toolkits.axisartist.grid_finder', '__init__': <function DictFormatter.__init__>, '__call__': <function DictFormatter.__call__>, '__dict__': <attribute '__dict__' of 'DictFormatter' objects>, '__weakref__': <attribute '__weakref__' of 'DictFormatter' objects>, '__doc__': None, '__annotations__': {}})
__init__
(format_dict, formatter=None)[source]-
format_dict : dictionary for format strings to be used. formatter : fall-back formatter
__module__
= 'mpl_toolkits.axisartist.grid_finder'
__weakref__
-
list of weak references to the object (if defined)
Examples using mpl_toolkits.axisartist.grid_finder.DictFormatter
© 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.grid_finder.DictFormatter.html