plotly.py
plotly.py copied to clipboard
go.Scattergl with mode="text" does not display text in Plotly 6.0.0
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()
Thanks for catching this @brj0 - I'll try to get it looked at in the next work cycle.
FWIW, it doesn't show the markers either when using mode="markers+text".