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

Function test_valid_colors

lib/matplotlib/tests/test_lines.py:73–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71
72
73def test_valid_colors():
74 line = mlines.Line2D([], [])
75 with pytest.raises(ValueError):
76 line.set_color("foobar")
77
78
79def test_linestyle_variants():

Callers

nothing calls this directly

Calls 1

set_colorMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…