8000 Add test for specifying a single dash pattern as linestyle for a coll… · matplotlib/matplotlib@9108a4b · GitHub
[go: up one dir, main page]

Skip to content

Commit 9108a4b

Browse files
committed
Add test for specifying a single dash pattern as linestyle for a collection
1 parent 3fc7a0b commit 9108a4b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/matplotlib/tests/test_collections.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,12 @@ class MouseEvent(object):
591591
assert_array_equal(indices['ind'], [0])
592592

593593

594+
@cleanup
595+
def test_linestyle_single_dashes():
596+
plt.scatter([0, 1, 2], [0, 1, 2], linestyle=(0., [2., 2.]))
597+
plt.draw()
598+
599+
594600
if __name__ == '__main__':
595601
import nose
596602
nose.runmodule(argv=['-s', '--with-doctest'], exit=False)

0 commit comments

Comments
 (0)
0