Skip to content

Malaysia is shown in a wrong place on a map  #2810

@chernyshevdv

Description

@chernyshevdv

I am visualizing some data with plotly.express.scatter_geo. Malaysian data is shown in a wrong place:
image
Actually, Malaysia resides on both islands:
image
...but the capital Kuala Lumpur is situated in north-western part, and this part is associated with MY on maps by people.
Code is the following:

import nbformat
import plotly.express as px
import pandas as pd

...
fig = px.scatter_geo(df_merged, locations="alpha_3", size="devices", hover_name="country")
print(fig.to_html())

Package version is plotly==4.11.0.
JSON map is world_110m.json.

Metadata

Metadata

Assignees

Labels

P2considered for next cyclebugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions