Hi, trying to report a matplotlib figure with report_interactive=True . Whenever I add annotations to the plot, it’s reporting it to the debug samples sectio...
one year ago
it actually goes into debug samples so its working as expected. I guess there is nothing we can do about it then?
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....