Skip to content

go.Scattergl with mode="text" does not display text in Plotly 6.0.0 #5063

Open
@brj0

Description

@brj0

Description of the bug

Using go.Scattergl with mode="text" or mode="markers+text" does not display the specified text in Plotly version 6.0.0 (tested on Python 3.12.9). This worked in earlier versions of Plotly.

To Reproduce

import plotly.graph_objects as go

scatter = go.Scattergl(
    x=[0.5],
    y=[0.5],
    mode="markers+text",
    text="This Text is not displayed in plotly version 6.0.0",
    textposition="top center",
)
fig = go.Figure()
fig.add_trace(scatter)
fig.show()

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1needed for current cyclebugsomething brokenregressionthis used to work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions