我使用geopandas创建了这张地图,但是我无法使颜色条与图像大小一致。
ax = covid_death_per_millon_geo.plot(column = 'total_deaths_per_million', legend = True, cmap = 'RdYlGn_r', figsize=(20,15))
ax.set_title('Covid deaths per Million', size = 20)
ax.set_axis_off()