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

Method __init__

lib/mpl_toolkits/axisartist/grid_finder.py:309–316  ·  view source on GitHub ↗

format_dict : dictionary for format strings to be used. formatter : fall-back formatter

(self, format_dict, formatter=None)

Source from the content-addressed store, hash-verified

307
308class DictFormatter:
309 def __init__(self, format_dict, formatter=None):
310 """
311 format_dict : dictionary for format strings to be used.
312 formatter : fall-back formatter
313 """
314 super().__init__()
315 self._format_dict = format_dict
316 self._fallback_formatter = formatter
317
318 def __call__(self, direction, factor, values):
319 """

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected