我正在尝试使用 plotly.js
在 map 上绘制数据。我知道您可以通过以下方式获得一个国家/地区的 map :
layout = dict(
title = '',
geo = dict(
scope='usa',
...
)
我们是否有可用范围的列表,即不同的区域,某些地方?我曾尝试使用Google搜索,但似乎找不到它。在这个例子中,他们也有“非洲”,但其他地方呢?
最佳答案
来自 documentation :
scope (enumerated: "world" | "usa" | "europe" | "asia" | "africa" | "north america" | "south america" ) default: "world"
关于plotly - Plotly 中所有地理范围的列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39106223/