We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use a pie as an example, where the 'count2d' stat is applied by default
coords = pd.DataFrame( {'City': ['A', 'B'], 'x': [-80, 80], 'y': [-40, 40]} ) gdf = geopandas.GeoDataFrame(coords, geometry=geopandas.points_from_xy(coords.x, coords.y)) df = { "Name": ["A", "A", "B", "B"], "FullName": ["CityA", "CityA", "CityB", "CityB"], "Vote": ["Yes", "No", "Yes", "No"], "Number": [120, 30, 20, 80 ] } ggplot() + geom_pie(aes(fill='Vote', weight='Number', group='FullName'), data=df, map=gdf, map_join=['Name','City'])
Out:
Variable not found: 'Name'. Variables in data frame: ['Vote', '..y..', 'FullName', '..count..', '..x..']
The text was updated successfully, but these errors were encountered:
Fixed: 1e911d5
Sorry, something went wrong.
OLarionova-HORIS
No branches or pull requests
Use a pie as an example, where the 'count2d' stat is applied by default
Out:
The text was updated successfully, but these errors were encountered: