Skip to content

Bug with plotly.express.scatter and text with webgl #5300

@mffrank

Description

@mffrank

When using plotly.express.scatter with a text argument and render_mode='webgl the plotting function breaks silently and does not show any points. Code to reproduce:

import plotly.express as px

df = px.data.iris()

fig1 = px.scatter(
    df,
    x="sepal_length",
    y="sepal_width",
    color="species",
    render_mode="webgl",
    opacity=0.9,
    text="species",
)
fig1.show()

Expected behavior (produced without render_mode='webgl'):

Image

Actual output:

Image

Metadata

Metadata

Assignees

Labels

P1needed for current cyclebugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions