splot icon indicating copy to clipboard operation
splot copied to clipboard

[ENH] include Basemap options for choropleth visualisation

Open slumnitz opened this issue 6 years ago • 3 comments

Add option Basemap=TRUE, tiles=exampletile to function call for choropleth visualisations Add @darribas's contextily as soft-dependancy to splot.

slumnitz avatar May 08 '19 23:05 slumnitz

would Basemap=FALSE be preferable as the default?

sjsrey avatar May 08 '19 23:05 sjsrey

yes Basemap=FALSE would be the default. Alternatively, we could think about an option to set a Basemap for the whole jupyter kernel? So every map in the nb is automatically displayed with the set Basemap? similar to set_style() in matplotlib?

slumnitz avatar May 09 '19 18:05 slumnitz

Wohooo! This would be awesome! The main challenge I think refers to CRSs (what else...). We're currently trying to figure out a way to add tile warping so data don't need to be reprojected. It's a bit hairy... The way we currently work with now is we just support Web Mercator, so the user has to rely on geopandas or equivalent to transform beforehand. Would this method expect a GeoDataFrame? If so, we could work with that under the hood.

This will be real cool!!! 🎉

darribas avatar May 09 '19 22:05 darribas