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

Function test_validate_sketch

lib/matplotlib/tests/test_rcparams.py:643–646  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

641
642@pytest.mark.parametrize("value", [(1, 2, 3), '1, 2, 3', '(1, 2, 3)'])
643def test_validate_sketch(value):
644 mpl.rcParams["path.sketch"] = value
645 assert mpl.rcParams["path.sketch"] == (1, 2, 3)
646 assert validate_sketch(value) == (1, 2, 3)
647
648
649@pytest.mark.parametrize("value", [1, '1', '1 2 3'])

Callers

nothing calls this directly

Calls 1

validate_sketchFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…