matplotlib.axis.Axis.set_minor_formatter# Axis.set_minor_formatter(formatter)[源代码][源代码]# 设置次刻度线的格式化器。 除了 Formatter 实例外,这还接受 str 或函数。更多信息请参见 Axis.set_major_formatter。 参数: formatter : Formatter, str, 或函数格式化器, 字符串, 或函数 使用 matplotlib.axis.Axis.set_minor_formatter 的示例# 图的结构 Anatomy of a figure 刻度 Scales SkewT-logP 图:使用变换和自定义投影 SkewT-logP diagram: using transforms and custom projections 在刻度之间居中标签 Center labels between ticks 轴刻度 Axis scales