I have a requirement, where I need to plot a plotly graph with two axes x
and y
. Is it possible to add another parameter to that graph (say z
) without plotting it in the graph?
For example, if water boils at 100 oC at time 5 AM, I want to plot time in X
and degrees at Y
and the word 'Water' to be added when hovering over that point.
UPDATE: In the below image, there are two points of a dataframe being shown when hovered about that point, now I want to know if its possible to add another column of the dataframe to the hover i.e, the column corresponding to 16.3, 621.1 is 300, then I want to show 300 in the hover too, without explicitly plotting it.
Thanks,
Shyam
This is definitely not an elegant solution, but it works:
Time on Xaxis, temperature on Yaxis and when you hover onto any of points in graph, you will see something like "100, 4 AM, Water"