Hello,
I working with plotly in python in order to create a sphere.
First, I have phi, theta and power which are 3 arrays of n values.
phi, theta, power
[ 0., 0., 30.],
[ 15., 0., 30.],
[ 30., 0., 30.],
...,
[345., 0., 30.],
[360., 0., 30.],
[ 0., 15., 30.],
[ 15., 15., 30.],
[ 30., 15., 30.],
...
[360., 15., 30.],
....
[345., 180., 30.],
[360., 180., 30.]])
Then, I have to create x, y and z which are 13x25 matrix. When I run the code, I have perfectly what I want concerning the visualisation of the sphere. But, the custom data doesn’t work, for example, some points don’t have value.
fig = go.Figure(data=[go.Surface(x=x, y=y, z=z,
surfacecolor=R3d,
colorscale='Rainbow',
customdata=customdata,
hovertemplate='<b>%{customdata}</b>'
)])
Can you help me ?
Thank you in advance.


