1. # 显示
    2. world.slow()
    3. # 画等值线
    4. world = world[(world.pop_est>0) & (world.name!="Antarctica")]
    5. world['gdp_per_cap'] = world.gdp_md_est / world.pop_est #计算GDP
    6. world.plot(column='gdp_per_cap')
    7. # 改变颜色
    8. world.plot(column='gdp_per_cap',cmap='OrRd')
    9. # 两个图层叠加
    10. base = world.plot(color='white', edgecolor='black');cities.plot(ax=base, marker='o', color='red', markersize=5);
    11. # 两个图层叠加
    12. ax = world.plot(color="read")
    13. gdf2.plot(ax=ax, color="green")
    14. # 设置题目
    15. base.set_title("WGS84 (lat/lon)")