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)
|
2022-04-10 07:47:04 +00:00
|
|
|
example demonstrates using ClearML to log plots and images generated by Matplotlib and Seaborn.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
2022-04-10 07:47:04 +00:00
|
|
|
## Plots
|
2021-05-13 23:48:51 +00:00
|
|
|
|
2023-12-21 09:57:16 +00:00
|
|
|
The Matplotlib and Seaborn plots reported using [`Logger.report_matplotlib_figure()`](../../references/sdk/logger.md#report_matplotlib_figure)
|
|
|
|
appear in the experiment's **PLOTS**.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
2022-04-10 07:47:04 +00:00
|
|
|

|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
## Debug Samples
|
|
|
|
|
2023-12-21 09:57:16 +00:00
|
|
|
Matplotlib figures can be logged as images by using [`Logger.report_matplotlib_figure()`](../../references/sdk/logger.md#report_matplotlib_figure),
|
|
|
|
and passing `report_image=True`. The images are displayed in the experiment's **DEBUG SAMPLES**.
|
2022-04-10 07:47:04 +00:00
|
|
|
|
|
|
|

|