-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
A hovertemplate for Surface defined from customdata consisting in an array of shape (m, n, 3), and defined as follows:
hover = 'theta: %{customdata[0]:.3f}'+\
'<br>phi: %{customdata[1]: .3f}'+\
'<br>power: %{customdata[2]:.3f}<extra></extra>'
is displayed correctly only for the default position of the camera.eye. If you rotate the sphere the text is displayed verbatim like in the definition of hovertemplate:
https://chart-studio.plotly.com/~empet/15737
The Python code is posted on forum: https://community.plotly.com/t/surface3d-with-customdata/42708/3.
I
hcoohb and Davide-sd