it actually goes into debug samples so its working as expected. I guess there is nothing we can do about it then?
@<1566596968673710080:profile|QuaintRobin7> not for now. Could you please open a GH issue about it? Maybe we can fit this in a future patch.
I just wanted it to go to the plots section
from clearml import Task
from matplotlib import pyplot as plt
import numpy as np
task = Task.init(
project_name="Example",
task_name="Example",
auto_connect_frameworks={"matplotlib": False},
)
logger = task.get_logger()
fpr, tpr, thresholds = np.random.rand(3, 10)
fig, ax = plt.subplots(1, 1)
ax.plot(fpr, tpr, "o-", label="ROC curve")
ax.plot(np.linspace(0, 1, 10), np.linspace(0, 1, 10), label="diagonal", linestyle="--")
for x, y, txt in zip(fpr, tpr, thresholds):
ax.annotate(np.round(txt, 2), (x, y - 0.04))
logger.report_matplotlib_figure(
"ROC curve", "ROC curve", iteration=0, figure=fig, report_interactive=True
)
Hi @<1566596968673710080:profile|QuaintRobin7> , do you have a self contained snippet that will reproduce this?
thank you for the reply, i think this will do ๐
Hi @<1566596968673710080:profile|QuaintRobin7> ! Sometimes, ClearML is not capable of transforming matplotlib plots to plotly , so we report the plot as an image to Debug Samples. Looks like report_interactive=True
makes the plot unparsable