martinfleis / geopandas-view

Interactive exploration of GeoPandas GeoDataFrames
BSD 3-Clause "New" or "Revised" License
29 stars 4 forks source link

Stroke color cannot be set in choropleth #30

Closed Sangarshanan closed 3 years ago

Sangarshanan commented 3 years ago

Since the plots override the color in style_kwargs instead of fillColor, I guess it is not possible to set the stroke/line color for choropleth plots and they just take up the same shade as the filled color, I feel like black could be a good default stroke color that I would like to set to make plots like image

martinfleis commented 3 years ago

Good catch!

I like to have a default stroke color same as fill color because it makes it easy to create choropleths with LineString and Point geometry. If you set stroke to black, you have to override such default for line geometry.

martinfleis commented 3 years ago

Closed by #31