Skip to content

Commit 9f5b60d

Browse files
committed
Set strict=False in zip for positional arguments in PlotAccessor
1 parent d62f24f commit 9f5b60d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/plotting/_core.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,9 @@ def _get_call_args(backend_name: str, data: Series | DataFrame, args, kwargs):
976976
)
977977
raise TypeError(msg)
978978

979-
pos_args = {name: value for (name, _), value in zip(arg_def, args, strict=True)}
979+
pos_args = {
980+
name: value for (name, _), value in zip(arg_def, args, strict=False)
981+
}
980982
if backend_name == "pandas.plotting._matplotlib":
981983
kwargs = dict(arg_def, **pos_args, **kwargs)
982984
else:

0 commit comments

Comments
 (0)