We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
to_list
1 parent 0d7bd7c commit a00680eCopy full SHA for a00680e
1 file changed
lib/matplotlib/tests/test_contour.py
@@ -719,6 +719,6 @@ def test_bool_autolevel():
719
720
def test_all_nan():
721
x = np.array([[np.nan, np.nan], [np.nan, np.nan]])
722
- assert_array_almost_equal(plt.contour(x).levels.tolist(),
+ assert_array_almost_equal(plt.contour(x).levels,
723
[-1e-13, -7.5e-14, -5e-14, -2.4e-14, 0.0,
724
2.4e-14, 5e-14, 7.5e-14, 1e-13])
0 commit comments