mpl_toolkits.axisartist.grid_finder.DictFormatter#

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

基类: object

format_dict : 用于格式化字符串的字典。 formatter : 备用格式化器

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

如果在字典中找到值,则忽略 factor。

使用 mpl_toolkits.axisartist.grid_finder.DictFormatter 的示例#

floating_axes 特性

floating_axes 特性