Created
January 8, 2019 10:08
-
-
Save Dih5/23c0e987e02a2ad880fa8330f9387dd3 to your computer and use it in GitHub Desktop.
Export matplotlib plots to custom formats in Jupyter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Export matplotlib plots to custom formats in Jupyter | |
from matplotlib.pyplot import * | |
%matplotlib inline | |
from IPython.display import set_matplotlib_formats | |
set_matplotlib_formats('png', 'pdf') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment