import plotly.graph_objects as go import numpy as np # Helix equation t = np.linspace(0, 10, 50) x, y, z = np.cos(t), np.sin(t), t fig = go.Figure(data=[go.Scatter3d(x=x, y=y, z=z, mode='markers')]) fig.update_layout( title= "title", title_x=0.5, # plotlyexpress 3d axes: scene = dict( xaxis = dict( showbackground = False, showticklabels = False, title='', showgrid = False, zeroline = False,), yaxis = dict( showbackground = False, showticklabels = False, title='', showgrid = False, zeroline = False,), zaxis = dict( showbackground = False, showticklabels = False, title='', showgrid = False, zeroline = False, ), ), template= 'plotly_dark' # template= 'plotly' ) fig.write_html("./test.html", div_id= "plt_Div", include_plotlyjs = "cdn") div_Rep = fig.to_html(div_id= "plt_Div", include_plotlyjs = "cdn") print("debug-stop")