iliatimofeev / gpdvega

gpdvega is a bridge between GeoPandas and Altair that allows to seamlessly chart geospatial data
https://iliatimofeev.github.io/gpdvega/
BSD 3-Clause "New" or "Revised" License
52 stars 5 forks source link

Unexpected position of 'Oceania' #2

Open iliatimofeev opened 6 years ago

iliatimofeev commented 6 years ago
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
)

visualization 42