Closed prokie closed 2 years ago
Hi @prokie,
Thanks for pointing out the unexpected behavior & delivering reproducible code! :smile:
This behavior stemmed from plotly-resampler converting text
argument internally into hovertext
. I added in a1a535e support for hf_text
(as of now, text and hovertext will be both handled independently). The new behavior is in line with the behavior that you described above; text
is shown for the selected points from your aggregator.
Once PR #53 is merged, this functionality will be supported in the next release (v0.6.4)
Cheers, Jeroen
Should be fixed in plotly-resampler 0.6.4
! 🔥
Great. Fast to fix as always!
Don't know if this is an enhancement or a bug. But it seems that calling FigureResampler removes the text labels from the plot. At least if the number of points exceeds
default_n_shown_samples
. Here is a simple example illustrating the issue in a dash application.To see the labels you can uncomment the fig without the
FigureResampler
function.I guess the wanted behavior if
lttb
removes the point with the label is to not show that label. That is also probably the easiest to implement.