From 8fba5ebfd1fca2991464cc1dae473231f3a401fe Mon Sep 17 00:00:00 2001 From: Dan Birken Date: Sun, 24 Mar 2013 13:24:05 -0700 Subject: [PATCH] ENH: Pass **kwargs through to matplotlib .scatter() --- pandas/tools/plotting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py index b74b6b24262f9..137eab65620c6 100644 --- a/pandas/tools/plotting.py +++ b/pandas/tools/plotting.py @@ -1703,7 +1703,7 @@ def format_date_labels(ax, rot): pass -def scatter_plot(data, x, y, by=None, ax=None, figsize=None, grid=False): +def scatter_plot(data, x, y, by=None, ax=None, figsize=None, grid=False, **kwargs): """ Returns @@ -1715,7 +1715,7 @@ def scatter_plot(data, x, y, by=None, ax=None, figsize=None, grid=False): def plot_group(group, ax): xvals = group[x].values yvals = group[y].values - ax.scatter(xvals, yvals) + ax.scatter(xvals, yvals, **kwargs) ax.grid(grid) if by is not None: