✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Rangeslider does not show the plot of more than 1000 points

When I use rangeslider with more than 1000 points in the plot,
the rangeslider panel becomes empty although all the functionality works fine.
Is this by design?

I messed around with yaxis options but it changed nothing.


N = 1001
x = np.linspace(-5, 5, N)
df = pd.DataFrame(dict(time=x, flux=np.sin(x) * 3))
df["customdata"] = np.arange(N)


fig = px.scatter(
    df,
    x="time",
    y="flux",
    title="Time Series with Rangeslider",
    custom_data=["customdata"],
)
fig.update_xaxes(
    rangeslider_visible=True,
    rangeslider=dict(
        # yaxis=dict(
        #     rangemode='fixed',
        #     range=[-5,2.0]
        # )
    ),
)