Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e8495cc

Browse filesBrowse files
committed
Augment a test
1 parent 04e7b05 commit e8495cc
Copy full SHA for e8495cc

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎lib/matplotlib/tests/test_collections.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_collections.py
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.