From d7fc01140319bfbef14bc79d30e1acf27b5b4d09 Mon Sep 17 00:00:00 2001 From: Kelsey Jordahl Date: Fri, 5 Jul 2013 19:22:15 -0400 Subject: [PATCH] Just pass plot options from geodataframe to geoseries method --- geopandas/geodataframe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geopandas/geodataframe.py b/geopandas/geodataframe.py index 7ac969c..b8de384 100644 --- a/geopandas/geodataframe.py +++ b/geopandas/geodataframe.py @@ -51,6 +51,6 @@ class GeoDataFrame(DataFrame): else: return col - def plot(self, colormap='Accent'): + def plot(self, *args, **kwargs): # TODO: pass in argument to color geometries - return self['geometry'].plot(colormap) + return self['geometry'].plot(*args, **kwargs)