Skip to content

Commit 29d7547

Browse files
author
Marc Garcia
committed
Temporary removing the warning, to see if it's causing the andrews_curves test failure
1 parent 5819585 commit 29d7547

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

pandas/plotting/_core.py

-13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import importlib
22
from typing import List, Type # noqa
3-
import warnings
43

54
from pandas.util._decorators import Appender
65

@@ -546,18 +545,6 @@ def _get_call_args(backend_name, data, args, kwargs):
546545
'Series or DataFrame').format(
547546
type(data).__name__))
548547

549-
if args and isinstance(data, ABCSeries):
550-
msg = ('`Series.plot()` should not be called with positional '
551-
'arguments, only keyword arguments. The order of '
552-
'positional arguments will change in the future. '
553-
'Use `Series.plot({})` instead of `Series.plot({})`.')
554-
positional_args = str(args)[1:-1]
555-
keyword_args = ', '.join('{}={!r}'.format(name, value)
556-
for (name, default), value
557-
in zip(arg_def, args))
558-
warnings.warn(msg.format(keyword_args, positional_args),
559-
FutureWarning, stacklevel=3)
560-
561548
pos_args = {name: value for value, (name, _) in zip(args, arg_def)}
562549
if backend_name == 'pandas.plotting._matplotlib':
563550
kwargs = dict(arg_def, **pos_args, **kwargs)

0 commit comments

Comments
 (0)