We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee9317e commit ebcb026Copy full SHA for ebcb026
lib/matplotlib/tests/test_collections.py
@@ -611,6 +611,12 @@ def test_lslw_bcast():
611
assert (col.get_linewidths() == [1, 2, 3]).all()
612
613
614
+def test_set_wrong_linestyle():
615
+ c = Collection()
616
+ with pytest.raises(ValueError, match="Do not know how to convert 'fuzzy'"):
617
+ c.set_linestyle('fuzzy')
618
+
619
620
@mpl.style.context('default')
621
def test_capstyle():
622
col = mcollections.PathCollection([], capstyle='round')
0 commit comments