Hover label with long name is truncated
jendelel opened this issue · 6 comments
Hi Vitchyr,
I love viskit. Do you think it would be possible to show the whole legend name when hovering over the data? Right now, it truncates shows only the beginning as shown below.
I found this issue on plotly, but adding
hoverlabel=dict(namelength=-1)
to go.Scatter
function for values (link in make_plot
function did not fix it for me .
Since viskit is relatively complex I thought I might be missing something that you could help me to spot.
Thanks a lot,
Lukas
Hi Vitchyr,
upgrading both Python and embedded JS version of Plotly fixed it for me. I'd be happy to send you a PR if you want (it's 3 lines change).
I noticed that the plots look different and hovering shows only one trace instead of all of them. There are probably more things that changed between the versions. I will stick to the new one as I like the full labels.
Let me know if you want me to send you the PR.
Lukas