Closed braceal closed 3 years ago
Add interactive tsne visualization chart to molecules.plot wandb allows you to pass a custom html string
TODO: play around with this to test it use the plot figure object and call to_html() https://plotly.com/python-api-reference/generated/plotly.graph_objects.Figure.html#plotly.graph_objects.Figure.to_html
Then use wandb api: https://docs.wandb.com/library/log#media
wandb.log({"custom_string": wandb.Html(fig.to_html())})
Then save html file to disk: plotly.offline.plot(fig, filename='plot.html')
Done.
Add interactive tsne visualization chart to molecules.plot wandb allows you to pass a custom html string
TODO: play around with this to test it use the plot figure object and call to_html() https://plotly.com/python-api-reference/generated/plotly.graph_objects.Figure.html#plotly.graph_objects.Figure.to_html
Then use wandb api: https://docs.wandb.com/library/log#media
Then save html file to disk: plotly.offline.plot(fig, filename='plot.html')