The matplotlib episode is severely outdated

Open
#177 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
matplotlib, python

Research direction

Start by locating the Matplotlib lesson and comparing its plotting examples with the linked official usage tutorial; leave the pandas plotting API section unchanged. Update the lesson to prefer the object-oriented API, including examples that support adding custom elements to seaborn plots, then verify the lesson renders and its examples remain understandable.

Written by the indexing model from the issue text.

Description

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.

Dominant language
No language data
Stars
37
Forks
70
Avg merge
1m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from datacarpentry/python-socialsci

All issues in datacarpentry/python-socialsci

Similar issues

More Data Visualization issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.