Thanks to visit codestin.com Credit goes to github.com
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 2860571 commit 0d7bfb9Copy full SHA for 0d7bfb9
1 file changed
lib/matplotlib/tests/test_patches.py
@@ -586,3 +586,10 @@ def test_default_antialiased():
586
# Check that None resets the state
587
patch.set_antialiased(None)
588
assert patch.get_antialiased() == rcParams['patch.antialiased']
589
+
590
591
+def test_default_linestyle():
592
+ patch = Patch()
593
+ patch.set_linestyle('--')
594
+ patch.set_linestyle(None)
595
+ assert patch.get_linestyle() == 'solid'
0 commit comments