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 95f4003

Browse filesBrowse files
committed
Updated tests to check for default value of shading
1 parent d319a96 commit 95f4003
Copy full SHA for 95f4003

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎lib/matplotlib/tests/test_collections.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_collections.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,6 @@ def test_quadmesh_deprecated_signature(
743743
qmesh = QuadMesh(coords, **kwargs)
744744
qmesh.set_array(C)
745745
ax.add_collection(qmesh)
746-
747746
assert qmesh._shading == 'flat'
748747

749748
ax = fig_ref.add_subplot()
@@ -756,6 +755,7 @@ def test_quadmesh_deprecated_signature(
756755
**kwargs)
757756
qmesh.set_array(C.flatten() if flat_ref else C)
758757
ax.add_collection(qmesh)
758+
assert qmesh._shading == 'flat'
759759

760760

761761
@check_figures_equal(extensions=['png'])

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.