Skip to content

Scattergl has a limit of data points #5227

Closed
@Exemocaro

Description

@Exemocaro

I'm on plotly 6.1.2; Python 3.11.11; on Ubuntu 24.10 and using the notebook_connected renderer.

While trying to plot some data, I noticed that the following code doesn't plot the lines between the markers, but the go.Scatter version works just fine. My series has exactly 768 float64 data points and contains no NaN values. Is this problem related to the number of data points I'm trying to plot? Or is it related to something else?

    fig_resistance.add_trace(
        go.Scattergl(
            x=my_series.index,
            y=my_series.values,
            mode="lines+markers", 
            name=my_series.name,
            line=dict(width=3, color="blue"),
            marker=dict(size=6, color="blue"),
        )
    )

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