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 b5f11fd commit 16d1f88Copy full SHA for 16d1f88
pandas/tests/plotting/test_misc.py
@@ -9,7 +9,7 @@
9
10
import pandas.util._test_decorators as td
11
12
-from pandas import DataFrame
+from pandas import DataFrame, Series
13
from pandas.tests.plotting.common import TestPlotBase, _check_plot_works
14
import pandas.util.testing as tm
15
@@ -25,6 +25,12 @@ def test_import_error_message():
25
df.plot()
26
27
28
+@td.skip_if_no_mpl
29
+def test_series_plot_with_positional_arguments_warns():
30
+ with tm.assert_produces_warning(FutureWarning):
31
+ Series([1, 2, 3]).plot('line', None)
32
+
33
34
@td.skip_if_no_mpl
35
class TestSeriesPlots(TestPlotBase):
36
0 commit comments