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

Skip to content

Commit 95f4003

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_collections.py

Lines 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)