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 24e9946 commit 3070ac8Copy full SHA for 3070ac8
lib/matplotlib/tests/test_axes.py
@@ -9900,16 +9900,3 @@ def test_pie_all_zeros():
9900
fig, ax = plt.subplots()
9901
with pytest.raises(ValueError, match="All wedge sizes are zero"):
9902
ax.pie([0, 0], labels=["A", "B"])
9903
-
9904
9905
-def test_get_legend_return_type():
9906
- fig, ax = plt.subplots()
9907
9908
- assert ax.get_legend() is None
9909
9910
- ax.plot([1, 2], label="Line")
9911
- ax.legend()
9912
9913
- legend = ax.get_legend()
9914
- assert legend is not None
9915
- assert isinstance(legend, matplotlib.legend.Legend)
0 commit comments