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

Method _non_decade_format

lib/matplotlib/ticker.py:1150–1152  ·  view source on GitHub ↗

Return string for non-decade locations.

(self, sign_string, base, fx, usetex)

Source from the content-addressed store, hash-verified

1148 """
1149
1150 def _non_decade_format(self, sign_string, base, fx, usetex):
1151 """Return string for non-decade locations."""
1152 return r'$\mathdefault{%s%s^{%.2f}}$' % (sign_string, base, fx)
1153
1154 def __call__(self, x, pos=None):
1155 # docstring inherited

Callers 1

__call__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected