Not sure if that belongs here or in plotly.js…
Summary
When creating a plot with lots of traces and enabling the hover information it gets cropped (at the top).

Reproducible Code Example
import plotly.express as px
import numpy as np
x = np.linspace(0.0, 19.0, 20)
y = []
for i in range(10):
y.append(np.ones(shape=(20))*i)
fig = px.line(x=x,
y=y,
height=300)
fig.update_layout(hovermode="x unified")
fig.show()
Steps To Reproduce
- Run
python test.py
- Hover in the plotly graph
Expected Behavior
The hover window is an overlay and not cropped.
Moved here from: streamlit/streamlit#5764
Not sure if that belongs here or in plotly.js…
Summary
When creating a plot with lots of traces and enabling the hover information it gets cropped (at the top).
Reproducible Code Example
Steps To Reproduce
python test.pyExpected Behavior
The hover window is an overlay and not cropped.
Moved here from: streamlit/streamlit#5764