Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Set tickvals y axis 3D surface plot

Hello,

I am trying to plot customize the tickvals of y axis for the interactive 3D surface plot in Python. smoothL is a numpy array of floats and LL a list of strings. Nevertheless it does not work. Instead, the value of y displayed is the position of the data in the z data matrix.

Thanks in advance!

layout = go.Layout(
scene=dict(
yaxis=dict(title=‘Length (m)’,
zeroline=False,
showline=True,
tickmode=‘array’,
tickvals=smoothL,
ticktext=LL,
ticklen=1,
mirror=True)),