Skip to content

px.scatter scattermode="group" broken with render_mode="webgl" #4388

Closed
@slmg

Description

@slmg

Plotly version: 5.17.0

From the official doc, the below works fine.

df = px.data.medals_long()

fig = px.scatter(
    df, y="count", x="nation", color="medal", render_mode="svg"
).update_layout(scattermode="group", scattergap=0.75)

fig

But switching to render_mode="webgl" is broken, as all point get overlaid.

df = px.data.medals_long()

fig = px.scatter(
    df, y="count", x="nation", color="medal", render_mode="webgl"
).update_layout(scattermode="group", scattergap=0.75)

fig

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions