Plotly

This integration lets you log interactive charts generated in plotly, like confusion matrix or distribution, in Neptune.

Log plotly interactive charts

Follow these steps:

Create a run

import neptune.new as neptune
run = neptune.init(project='my_workspace/my_project')

Create plotly figure

import plotly.express as px
df = px.data.tips()
plotly_fig = px.histogram(df,
x="total_bill", y="tip", color="sex", marginal="rug",
hover_data=df.columns)

Log interactive figure

run['visuals/plotly-fig'] = neptune.types.File.as_html(plotly_fig)

Explore the results in the Neptune