mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-11 12:10:59 +08:00
Just pass plot options from geodataframe to geoseries method
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user