Skip to content

Instantly share code, notes, and snippets.

View WangYixuan12's full-sized avatar

Yixuan Wang WangYixuan12

View GitHub Profile
@thomasweng15
thomasweng15 / plotly_save.py
Last active September 26, 2023 23:20
3D Interactive Visualizations with Plotly
# Save html to the specified path
fig.write_html("plotly_sphere_pts.html")
# Save to wandb (call wandb.init() first)
# html = plotly.io.to_html(fig)
# wandb.log(
# {
# f"plotly_sphere_pts": wandb.Html(html),
# }
# )