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
# Make plots inline | |
%matplotlib inline | |
# Make inline plots vector graphics instead of raster graphics | |
# from IPython.display import set_matplotlib_formats | |
# set_matplotlib_formats('pdf', 'svg') | |
# DeprecationWarning: `set_matplotlib_formats` is deprecated since IPython 7.23, directly use `matplotlib_inline.backend_inline.set_matplotlib_formats()` | |
import matplotlib_inline | |
matplotlib_inline.backend_inline.set_matplotlib_formats('retina', 'png', quality = 100) |