使用 plotly 代表一个国家

Representing a country using plotly

所以我想使用 plotly 在气泡图上表示我的结果。问题是我刚找到美国的地图,但我需要 葡萄牙!

如何设置我的地图来代表葡萄牙?

预先感谢您的回复。

正在将您的评论转移到答案框,因为评论是临时的:

fig1.update_layout( lonaxis_range= [ -10.0, -6.0 ], lataxis_range= [ 36.0, 42.0 ], ) 

So on that way you limit the range to the county you want to present on a map :)