neptune-client icon indicating copy to clipboard operation
neptune-client copied to clipboard

Feature Request: Add support for Seaborn figures

Open SiddhantSadangi opened this issue 3 years ago • 1 comments

The client currently does not support seaborn figures out-of-the-box, and they need to be converted to matplotlib format for upload

# Generate chart
seaborn_fig = ...

# Convert Seaborn object to Matplotlib format (matplotlib.figure.Figure)
figure = seaborn_fig.fig

# Log figure to run
run["seaborn-img"].upload(neptune.types.File.as_image(figure))

This step should be handled within the client

SiddhantSadangi avatar Jan 22 '22 13:01 SiddhantSadangi

Hey Siddhant,

Thanks for submitting this feature request. I have passed it to the engineering team.

I will keep you informed if there is any news.

Blaizzy avatar Jan 26 '22 14:01 Blaizzy