MCPcopy Create free account
hub / github.com/matplotlib/matplotlib / FormatterPrettyPrint

Class FormatterPrettyPrint

lib/mpl_toolkits/axisartist/grid_finder.py:298–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296# Tick Formatter
297
298class FormatterPrettyPrint:
299 def __init__(self, useMathText=True):
300 self._fmt = mticker.ScalarFormatter(
301 useMathText=useMathText, useOffset=False)
302 self._fmt.create_dummy_axis()
303
304 def __call__(self, direction, factor, values):
305 return self._fmt.format_ticks(values)
306
307
308class DictFormatter:

Callers 2

test_pretty_print_formatFunction · 0.90
__init__Method · 0.85

Calls

no outgoing calls

Tested by 1

test_pretty_print_formatFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…