Replies: 1 comment 1 reply
-
Hi @yaszin, This is something caused by plotly's default behavior and not plotly-resampler. As described in this issue, this can be resolved by setting the import plotly.graph_objects as go
from plotly_resampler import FigureResampler
import numpy as np
N = 1_000_000
x = np.arange(N)
y = np.sin(x / (N / 50))
fig1 = FigureResampler(go.Figure())
# NOTE: the hoverlabel_namelength attribute ensures that the full name is visible.
fig1.add_trace(
go.Scatter(name="a trace", hoverlabel_namelength=-1),
hf_x=x,
hf_y=y,
)
fig1.add_trace(
go.Scatter(name="another trace", hoverlabel_namelength=-1),
hf_x=x,
hf_y=y**2,
)
fig1.show_dash(mode="external", port=8001) Without With I hope this helps you further! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to show the complete trace label on the plots i.e :

Beta Was this translation helpful? Give feedback.
All reactions