When using GeoPandas to plot the per capita GDP thematic map of Sichuan Province, the areas of Garze Prefecture, Aba Prefecture, and Liangshan Prefecture appear gray (no data), even though the corresponding data exists in the statistical table. What could be the possible reasons for this?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
Check plot extent
merged_gdf.plot(column='per_capita_gdp', vmin=merged_gdf['per_capita_gdp'].min(),
vmax=merged_gdf['per_capita_gdp'].max(), missing_kwds={'color': 'gray'})
Some comments may only be visible to logged-in visitors. Sign in to view all comments.