python-socialsci icon indicating copy to clipboard operation
python-socialsci copied to clipboard

The matplotlib episode is severely outdated

Open suvayu opened this issue 2 years ago • 0 comments

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.

suvayu avatar Jun 09 '22 10:06 suvayu