Skip to content

Commit 6245119

Browse files
committed
Revert "Fix matplotlib warnings"
This reverts commit f324108.
1 parent f324108 commit 6245119

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

tests/test_plotting.py

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -486,23 +486,22 @@ def test_plot_scatter(close_figures) -> None:
486486
),
487487
Axes,
488488
)
489-
with pytest.warns(UserWarning):
490-
check(
491-
assert_type(
492-
IRIS_DF.plot.scatter(x="SepalLength", y="SepalWidth", subplots=True),
493-
npt.NDArray[np.object_],
494-
),
495-
np.ndarray,
496-
)
497-
check(
498-
assert_type(
499-
IRIS_DF.plot(
500-
x="SepalLength", y="SepalWidth", subplots=True, kind="scatter"
501-
),
502-
npt.NDArray[np.object_],
489+
check(
490+
assert_type(
491+
IRIS_DF.plot.scatter(x="SepalLength", y="SepalWidth", subplots=True),
492+
npt.NDArray[np.object_],
493+
),
494+
np.ndarray,
495+
)
496+
check(
497+
assert_type(
498+
IRIS_DF.plot(
499+
x="SepalLength", y="SepalWidth", subplots=True, kind="scatter"
503500
),
504-
np.ndarray,
505-
)
501+
npt.NDArray[np.object_],
502+
),
503+
np.ndarray,
504+
)
506505

507506

508507
def test_plot_keywords(close_figures):

0 commit comments

Comments
 (0)