问题描述
我有纬度和经度的数据。我正在尝试将数据映射到 scatter_geo,但不确定如何显示国家/地区之间的边界线。只有显示选项:showland、showocean 和 showborders ...
fig = px.scatter_geo(df,lon="LONGITUDE",lat="LATITUDE",projection="natural earth")
fig.update_geos(
resolution=50,showcoastlines=True,coastlinecolor="RebeccaPurple",showland=True,landcolor="brown",showocean=True,oceancolor="LightBlue",)
fig.update_layout(height=300,margin={"r":0,"t":0,"l":0,"b":0})
fig.show()
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)