Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

matplotlib plot dpi -> change format to retina instead of svg

import seaborn as sns
sns.set(rc={"figure.dpi":100, 'savefig.dpi':300})
sns.set_context('notebook')
sns.set_style("ticks")
from IPython.display import set_matplotlib_formats
set_matplotlib_formats('retina')
Source by blakeaw.github.io #
 
PREVIOUS NEXT
Tagged: #matplotlib #plot #dpi #change #format #retina #svg
ADD COMMENT
Topic
Name
1+9 =