Just pass plot options from geodataframe to geoseries method

This commit is contained in:
Kelsey Jordahl
2013-07-05 19:22:15 -04:00
parent bdef225d13
commit d7fc011403
+2 -2
View File
@@ -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)