matplotlib.axis.Axis.set_minor_formatter#

Axis.set_minor_formatter(formatter)[源代码]#

设置次刻度(minor ticker)的格式化器。

除了 Formatter 实例外,它还接受 str 或函数。有关更多信息,请参阅 Axis.set_major_formatter

参数:
formatterFormatter, str 或函数

使用 matplotlib.axis.Axis.set_minor_formatter 的示例#

刻度之间居中标签

刻度之间居中标签

图形解剖

图形解剖

SkewT-logP 图:使用变换和自定义投影

SkewT-logP 图:使用变换和自定义投影

坐标轴刻度

坐标轴刻度