effective_pandas_book
effective_pandas_book copied to clipboard
%matplotlib inline no longer needed
In Chapter 14 on plotting you wrote "To leverage it in Jupyter, make sure you include the
following cell magic to tell Jupyter to display the plots in the browser:
%matplotlib inline
" which no longer holds (for 2+ years atleast) especially if you import pyplot or pandas (which Effective Pandas is all about) https://github.com/ipython/ipython/issues/12190
I just felt that a book written in 2021 should explain that to its readers
Good catch.
One thing that is useful in modern notebooks is to issue the command:
%config InlineBackend.figure_format = 'retina'
which results in much higher resolution plots (beautiful).
Not sure if it's worth including/mentioning in the book, but would be nice to include in the provided notebooks.