mirror of
https://github.com/clearml/clearml-docs
synced 2025-02-07 13:21:46 +00:00
Add manual seaborn logging example (#226)
This commit is contained in:
parent
4835f807cf
commit
ce3b5d4318
@ -3,12 +3,20 @@ title: Manual Matplotlib Reporting
|
||||
---
|
||||
|
||||
The [matplotlib_manual_reporting.py](https://github.com/allegroai/clearml/blob/master/examples/reporting/matplotlib_manual_reporting.py)
|
||||
example demonstrates reporting using Matplotlib and Seaborn with ClearML.
|
||||
example demonstrates using ClearML to log plots and images generated by Matplotlib and Seaborn.
|
||||
|
||||
When the script runs, it creates an experiment named `Manual Matplotlib example`, which is associated with the
|
||||
`examples` project.
|
||||
## Plots
|
||||
|
||||
The Matplotlib figure reported by calling the [Logger.report_matplotlib_figure](../../references/sdk/logger.md#report_matplotlib_figure)
|
||||
method appears in **RESULTS** **>** **PLOTS**.
|
||||
The Matplotlib and Seaborn plots that are reported using the [Logger.report_matplotlib_figure](../../references/sdk/logger.md#report_matplotlib_figure)
|
||||
method appear in the experiment’s **RESULTS** **>** **PLOTS**.
|
||||
|
||||
![image](../../img/manual_matplotlib_reporting_01.png)
|
||||
![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)
|
||||
method, and passing `report_image=True`. The images are stored in the experiment’s **RESULTS > DEBUG SAMPLES**.
|
||||
|
||||
![Experiment debug sample](../../img/manual_matplotlib_reporting_03.png)
|
Binary file not shown.
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 157 KiB |
BIN
docs/img/manual_matplotlib_reporting_02.png
Normal file
BIN
docs/img/manual_matplotlib_reporting_02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 197 KiB |
BIN
docs/img/manual_matplotlib_reporting_03.png
Normal file
BIN
docs/img/manual_matplotlib_reporting_03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 102 KiB |
Loading…
Reference in New Issue
Block a user