python-socialsci
python-socialsci copied to clipboard
The matplotlib episode is severely outdated
The Matplotlib lesson is outdated (not the section on pandas plotting API). The official recommendation is to use the object-oriented API; e.g. see this basic official tutorial. Since the matplotlib API is introduced as a more advanced way of plotting, the OO-style should be preferred.
For example, during one of our lessons, a student asked about how to customise a plot made with seaborn
by adding there own elements. But that can reliably be achieved by using the OO API.