Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8495cc

Browse files
committed
Augment a test
1 parent 04e7b05 commit e8495cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/tests/test_collections.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,7 @@ def test_color_logic(pcfunc):
792792
pc.set_facecolor('none')
793793
pc.set_edgecolor('red')
794794
pc.update_scalarmappable()
795+
assert mcolors.same_color(pc.get_facecolor(), 'none')
795796
assert mcolors.same_color(pc.get_edgecolor(), [[1, 0, 0, 1]])
796797
pc.set_alpha(0.5)
797798
pc.update_scalarmappable()

0 commit comments

Comments
 (0)