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
@empet thanks very much for the report.
I noticed the problem even on initial camera position.
I also noticed that the data displayed was not in the right place. For example, if you make a surface3D and a scatter3D (with the same value), the datas are not corresponding each other.
Most helpful comment
I noticed the problem even on initial camera position.