mpl_toolkits.axisartist.grid_finder.DictFormatter

class mpl_toolkits.axisartist.grid_finder.DictFormatter(format_dict, formatter=None)[源代码]

基类:object

FORMAT U DICT:要使用的格式字符串的字典。格式设置工具:回退格式设置工具

__call__(direction, factor, values)[源代码]

如果在字典中找到值,则忽略因子

__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)[源代码]

FORMAT U DICT:要使用的格式字符串的字典。格式设置工具:回退格式设置工具

__module__ = 'mpl_toolkits.axisartist.grid_finder'
__weakref__

对象的弱引用列表(如果已定义)

使用实例 mpl_toolkits.axisartist.grid_finder.DictFormatter