clearml-docs/docs/guides/reporting/manual_matplotlib_reporting.md

22 lines
985 B
Markdown
Raw Normal View History

2021-05-13 23:48:51 +00:00
---
title: Manual Matplotlib Reporting
---
The [matplotlib_manual_reporting.py](https://github.com/allegroai/clearml/blob/master/examples/reporting/matplotlib_manual_reporting.py)
example demonstrates using ClearML to log plots and images generated by Matplotlib and Seaborn.
2021-05-13 23:48:51 +00:00
## Plots
2021-05-13 23:48:51 +00:00
2023-04-16 07:13:04 +00:00
The Matplotlib and Seaborn plots that are reported using the [Logger.report_matplotlib_figure](../../references/sdk/logger.md#report_matplotlib_figure)
2022-05-22 07:27:30 +00:00
method appear in the experiments **PLOTS**.
2021-05-13 23:48:51 +00:00
![Experiment Matplotlib plots](../../img/manual_matplotlib_reporting_01.png)
![Experiment Seaborn plot](../../img/manual_matplotlib_reporting_02.png)
## Debug Samples
Matplotlib figures can be logged as images by using the [Logger.report_matplotlib_figure](../../references/sdk/logger.md#report_matplotlib_figure)
2022-05-22 07:27:30 +00:00
method, and passing `report_image=True`. The images are stored in the experiments **DEBUG SAMPLES**.
![Experiment debug sample](../../img/manual_matplotlib_reporting_03.png)