Skip to content

Scattergl has a limit of data points #5227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Exemocaro opened this issue Jun 11, 2025 · 1 comment
Closed

Scattergl has a limit of data points #5227

Exemocaro opened this issue Jun 11, 2025 · 1 comment

Comments

@Exemocaro
Copy link

Exemocaro commented Jun 11, 2025

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"),
        )
    )
@gvwilson
Copy link
Contributor

Hi - we are trying to keep the issues and PRs in Plotly's public repositories tidy so that we can focus on things that are most important to our community. For tech support and "how-to" questions, please post in our community forum https://community.plotly.com/. Thank you - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants