MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_minor_formatter

Method set_minor_formatter

lib/matplotlib/axis.py:2080–2092  ·  view source on GitHub ↗

Set the formatter of the minor ticker. In addition to a `~matplotlib.ticker.Formatter` instance, this also accepts a ``str`` or function. See `.Axis.set_major_formatter` for more information. Parameters ---------- formatter : `~matplotlib.ti

(self, formatter)

Source from the content-addressed store, hash-verified

2078 self._set_formatter(formatter, self.major)
2079
2080 def set_minor_formatter(self, formatter):
2081 """
2082 Set the formatter of the minor ticker.
2083
2084 In addition to a `~matplotlib.ticker.Formatter` instance,
2085 this also accepts a ``str`` or function.
2086 See `.Axis.set_major_formatter` for more information.
2087
2088 Parameters
2089 ----------
2090 formatter : `~matplotlib.ticker.Formatter`, ``str``, or function
2091 """
2092 self._set_formatter(formatter, self.minor)
2093
2094 def _set_formatter(self, formatter, level):
2095 if isinstance(formatter, str):

Calls 1

_set_formatterMethod · 0.95