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

Method test_pprint

lib/matplotlib/tests/test_ticker.py:1212–1215  ·  view source on GitHub ↗
(self, value, domain, expected)

Source from the content-addressed store, hash-verified

1210
1211 @pytest.mark.parametrize('value, domain, expected', pprint_data)
1212 def test_pprint(self, value, domain, expected):
1213 fmt = mticker.LogFormatter()
1214 label = fmt._pprint_val(value, domain)
1215 assert label == expected
1216
1217 @pytest.mark.parametrize('value, long, short', [
1218 (0.0, "0", "0"),

Callers

nothing calls this directly

Calls 1

_pprint_valMethod · 0.95

Tested by

no test coverage detected