The plotly_reporting.py example demonstrates ClearML's Plotly integration and reporting.
Report Plotly plots in ClearML by calling the
Logger.report_plotly method, and passing a complex
Plotly figure, using the
In this example, the Plotly figure is created using
plotly.express.scatter (see Scatter Plots in Python
in the Plotly documentation):
# Iris dataset
df = px.data.iris()
# create complex plotly figure
fig = px.scatter(
# report the plotly figure
title="iris", series="sepal", iteration=0, figure=fig
When the script runs, it creates an experiment named
plotly reporting, which is associated with the examples project.
ClearML reports Plotly plots in the ClearML Web UI > experiment details > PLOTS tab.