swcarpentry / python-novice-gapminder

Plotting and Programming in Python
http://swcarpentry.github.io/python-novice-gapminder/
Other
163 stars 427 forks source link

Remove matplotlib inline magic #553

Closed martinosorb closed 3 years ago

martinosorb commented 3 years ago

Running %matplotlib inline is no longer necessary when we want to directly display figures in a Jupyter notebook. This has been the default behaviour of Jupyter for several years, since a few versions ago.

There are no mentions of "magic" commands elsewhere in this lesson, so I feel it would be quite confusing if not properly explained, and would be a loss of time if explained in detail (since I would also argue that these later episodes should be more about python than about IPython).

vahtras commented 3 years ago

Thanks, your observation is correct. Looks good to me!