Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4b3235 commit 9aa41f5Copy full SHA for 9aa41f5
lib/matplotlib/tests/test_contour.py
@@ -695,18 +695,12 @@ def test_contour_remove():
695
assert ax.get_children() == orig_children
696
697
698
-def test_contour_z_kwargonly():
+def test_contour_kwargsonly():
699
# Smoke test for GH#24743
700
# Passing only kwargs
701
- plt.contour(Z=np.random.rand(30, 30))
702
-
703
704
-def test_contour_xyz_kwargsonly():
705
- plt.contour(
706
- X=np.random.rand(30, 30),
707
- Y=np.random.rand(30, 30),
708
- Z=np.random.rand(30, 30)
709
- )
+ data = [[0, 1], [1, 0]]
+ plt.contour(Z=data)
+ plt.contour(X=data, Y=data, Z=data)
710
711
712
def test_contour_either_xy():
0 commit comments