Skip to content

Scattergl fill not shown when too many scattergl-traces in plot #2759

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

Open
kvanderwijst opened this issue Sep 9, 2020 · 0 comments
Open
Labels
bug something broken P3 backlog

Comments

@kvanderwijst
Copy link

A strange bug happens when adding more than 508 scattergl traces to a figure: the fill property is not shown anymore:

n=509

fig = go.Figure()
for i in range(n):
    fig.add_scattergl(
        x=[0,1], y=np.random.random(2), mode='lines',
        showlegend=False
    )
fig.add_scattergl(
    x=[0.1, 0.9, 0.9, 0.1],
    y=[0.2, 0.2, 1.2, 1.2],
    mode='lines', fill='toself', fillcolor='red'
)
fig.update_layout(hovermode='closest')

With n=509, the fill doesn't show (but the line of the trace does), with n=508, the fill shows up.

@gvwilson gvwilson self-assigned this Jun 18, 2024
@gvwilson gvwilson removed their assignment Aug 2, 2024
@gvwilson gvwilson added P3 backlog bug something broken labels Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken P3 backlog
Projects
None yet
Development

No branches or pull requests

2 participants