I found an issue with pie chart (cufflinks v0.15). When I try to update the hovertexts with my own custom texts using hovertext='text' and text='text', it does not correctly produce the custom hover texts.
I can "sort of" get the texts into the hover text box by separately modifying the hovertext of the trace but what then actually happens is that for some reason the text box will then include both the automatic hover texts (if using e.g. hovertext='label+percent') and my custom texts somehow mixed which is quite strange.
Below is some code to demonstrate.
This should produce custom hover texts but don't (works when using plotly directly):
With the code below, I can get my custom hover texts but with confusing results (combined info from my custom texts and the texts automatically produced):
for i, trace in enumerate(figure['data']):
trace['hovertext'] = data["hover_text"].to_list()
Hi,
thanks for the great work with the library!
I found an issue with pie chart (cufflinks v0.15). When I try to update the hovertexts with my own custom texts using
hovertext='text'
andtext='text'
, it does not correctly produce the custom hover texts.I can "sort of" get the texts into the hover text box by separately modifying the
hovertext
of the trace but what then actually happens is that for some reason the text box will then include both the automatic hover texts (if using e.g.hovertext='label+percent'
) and my custom texts somehow mixed which is quite strange.Below is some code to demonstrate.
This should produce custom hover texts but don't (works when using plotly directly):
With the code below, I can get my custom hover texts but with confusing results (combined info from my custom texts and the texts automatically produced):
Cheers, Henrikki