Skip to content

Scattermap Class doesn't render #4775

Closed
@yusuf-jkhan1

Description

@yusuf-jkhan1

Python 3.10.12
Plotly 5.24.0 and 5.24.1
Tested on Windows 11 and Ubuntu 22.04

pip install 'plotly==5.24.0'

#Example from docs, https://plotly.com/python/tile-scatter-maps/
import plotly.graph_objects as go

fig = go.Figure(go.Scattermap(
        lat=['45.5017'],
        lon=['-73.5673'],
        mode='markers',
        marker=go.scattermap.Marker(
            size=14
        ),
        text=['Montreal'],
    ))

fig.update_layout(
    hovermode='closest',
    map=dict(
        bearing=0,
        center=go.layout.map.Center(
            lat=45,
            lon=-73
        ),
        pitch=0,
        zoom=5
    )
)

fig.show()

Doesn't render anything. It seems like px_scattermap is also having a similar issue.

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