Hello everybody!
I tried to to remove or replace x: y: z: prefixes from Surface hover, but goalless.
Could somebody help me?
I need something like this:
Current code (Python):
layout = Layout(
title=‘Title’,
autosize=True,
width=1450,
height=730,
margin=dict(
l=0,
r=0,
b=0,
t=0),
scene=Scene(
xaxis=XAxis(
title = ‘’,
),
yaxis=YAxis(
title = ‘Maturity’
),
zaxis=ZAxis(
title = ‘Yield’
),
)
)
surface = Surface(
x=list(df),
y=df.index,
z=df.as_matrix(),
showscale=False,
#hoverlabel=dict(namelength=0),
#hoverinfo=‘x+y+z’
)
fig = Figure(data = [surface], layout=layout)
camera = dict(
up=dict(x=0, y=0, z=1),
center=dict(x=0, y=0, z=0),
eye=dict(x=0.4, y=-1, z=0.2)
)
fig[‘layout’].update(
scene=dict(camera=camera),
)
py.iplot(fig)