How to Save Seaborn Plots as Files (PNG, PDF, EPS, SVG, & TIFF) - Python Data Visualization Tutorial

preview_player
Показать описание

» Portable Network Graphics (PNG)
» Portable Document Format (PDF)
» Encapsulated Postscript (EPS)
» Tagged Image File Format (TIFF)
» Scalable Vector Graphics (SVG)

Рекомендации по теме
Комментарии
Автор

Worth noting is that the saving and creation of the plot needs to be run in the same cell if using a notebook. If the save is ran in a cell below the plot then the result will just be a blank image.

martinfunkquist
Автор

Deserves more views. This really helped me out quickly. Thanks a lot. Liked and subscribed.

ccuny
Автор

Hey!
Is it also possible to save data as float32 to tiff?

emmanuelschmulewitz
Автор

I'm confused. plt and sns are separate modules, so how does calling savefig in matplotlib save what you made in seaborn? Makes no sense

federicomadden