` import plotly.express as px
from clearml import Task
import pandas as pd
df = pd.DataFrame({'a': ['val1', 'val1', 'val1', 'val1', 'val1', 'val1', 'val1', 'val1', 'val1', 'val1', 'val2', 'val2', 'val2', 'val2', 'val2', 'val2'],
'b':['group_a', 'group_a', 'group_a', 'group_a', 'group_b', 'group_b', 'group_b', 'group_b', 'group_b', 'group_b', 'group_a', 'group_a', 'group_a', 'group_a', 'group_b', 'group_b']})
task = Task.init(**{"project_name":"test",
"task_name":"test1",})
clearml_logger = task.get_logger()
fig=px.pie(df, names='a', facet_col='b')
clearml_logger.report_plotly('long plot name that goes over facet - pie chart test',
series=f"pie chart test 1 ",
iteration=0,
figure=fig)
task.close()
task = Task.init(**{"project_name":"test",
"task_name":"test2",})
clearml_logger = task.get_logger()
fig=px.pie(df, names='a', facet_col='b')
clearml_logger.report_plotly('long plot name that goes over facet - pie chart test',
series=f"pie chart test 2 ",
iteration=0,
figure=fig)
task.close()
task = Task.init(**{"project_name":"test",
"task_name":"test3",})
clearml_logger = task.get_logger()
fig=px.pie(df, names='a', facet_col='b')
clearml_logger.report_plotly('long plot name that goes over facet - pie chart test',
series=f"pie chart test 3 ",
iteration=0,
figure=fig)
task.close() `