mpl_toolkits.axisartist.grid_finder.DictFormatter
-
class
mpl_toolkits.axisartist.grid_finder.DictFormatter(format_dict, formatter=None)[source] -
Основывается на
objectformat_dict : словарь для форматов строк. formatter : резервный форматтер.
-
__call__(direction, factor, values)[source] -
Значение параметра factor игнорируется, если значение найдено в словаре.
-
__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 : словарь для форматов строк. formatter : резервный форматтер.
-
__module__= 'mpl_toolkits.axisartist.grid_finder'
-
__weakref__ -
Список слабых ссылок на объект (если определён)
-
Примеры использования 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