Skip to content

Commit 45ae832

Browse files
committed
TST: using - rather than difference in tools/plotting.py
1 parent 90a3f26 commit 45ae832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tools/plotting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3009,7 +3009,7 @@ def _grouped_plot_by_column(plotf, data, columns=None, by=None,
30093009
if columns is None:
30103010
if not isinstance(by, (list, tuple)):
30113011
by = [by]
3012-
columns = data._get_numeric_data().columns - by
3012+
columns = data._get_numeric_data().columns.difference(by)
30133013
naxes = len(columns)
30143014
fig, axes = _subplots(naxes=naxes, sharex=True, sharey=True,
30153015
figsize=figsize, ax=ax, layout=layout)

0 commit comments

Comments
 (0)