gpdvega icon indicating copy to clipboard operation
gpdvega copied to clipboard

gpdvega is a bridge between GeoPandas and Altair that allows to seamlessly chart geospatial data

Results 5 gpdvega issues
Sort by recently updated
recently updated
newest added

~~~python import altair as alt import geopandas as gpd import gpdvega alt.renderers.enable('notebook') # render for Jupyter Notebook world = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres')) # GeoDataFrame could be passed as usual pd.DataFrame alt.Chart(world[world.continent=='Antarctica']).mark_geoshape( stroke='#1f77b4',...

vega
geopandas

fyi, Altair is now producing a deprecation warning: ``` AltairDeprecationWarning: alt.pipe() is deprecated, and will be removed in a future release. Use toolz.curried.pipe() instead. ```

This is an attempt to resolve: https://github.com/iliatimofeev/gpdvega/issues/7

alt.pipe() is already deprecated, and displaying warning.

~~~python import altair as alt import geopandas as gpd import gpdvega alt.renderers.enable('notebook') # render for Jupyter Notebook world = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres')) alt.Chart(world [world.continent=='Oceania']).mark_geoshape( stroke='#1f77b4', fill='#7f7f7f', fillOpacity=0.3 ).project( ).encode( ).properties( width=500, height=300...