Hello -
I am trying to plot a 3d surface using the python API. I an get the axis to render but the data is not showing up. Suggestions?
plot = go.Mesh3d(
x = biden2['Age'],
y = biden2['Education'],
z = biden2['Predicted_Biden'],
opacity = .75,
color = "rgb(39, 100, 0)"
)
layout = go.Layout(
scene = dict(
xaxis = dict(
title='Age'),
yaxis = dict(
title='Education'),
zaxis = dict(
title='Biden'),),
width=700,
margin=dict(
r=20, b=10,
l=10, t=10)
)
fig = go.Figure(data = [plot], layout = layout)
py.iplot(fig)