clearml-docs/docs/integrations/seaborn.md

27 lines
969 B
Markdown
Raw Normal View History

2023-06-22 13:08:26 +00:00
---
title: Seaborn
---
2023-08-15 16:00:06 +00:00
:::tip
If you are not already using ClearML, see [Getting Started](../getting_started/ds/ds_first_steps.md) for setup
instructions.
:::
2023-06-22 13:08:26 +00:00
[seaborn](https://seaborn.pydata.org/) is a Python library for data visualization.
ClearML automatically captures plots created using `seaborn`. All you have to do is add two
lines of code to your script:
```python
from clearml import Task
2024-01-10 12:40:19 +00:00
2023-06-22 13:08:26 +00:00
task = Task.init(task_name="<task_name>", project_name="<project_name>")
```
This will create a [ClearML Task](../fundamentals/task.md) that captures your script's information, including Git details,
uncommitted code, python environment, your `seaborn` plots, and more. View the seaborn plots in the [WebApp](../webapp/webapp_overview.md),
in the experiment's **Plots** tab.
![Seaborn plot](../img/integrations_seaborn_plots.png)
View code example [here](https://github.com/allegroai/clearml/blob/master/examples/frameworks/matplotlib/matplotlib_example.py).