matplotlib / matplotlib/cheatsheets

'right' and 'top' in plt.subplots_adjust() are not directly padding size

Open Beginner friendly
#109 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cheatsheet
Dominant language
Python
Stars
7.7k
Forks
916
PR merge metrics
No merged PRs in 30d

Description

Very thankful of the cheatsheet, but I think there's a little problem.
In 'Axes adjustments' of the second cheatsheet, 'right' directly refers to the padding between subplots' right edge and figure's right edge. However it actually refers to the relative distance between subplots' right edge and figure's left edge. The same also applies to 'top'.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Open the second cheatsheet and find the “Axes adjustments” section describing plt.subplots_adjust(). Review the wording for “right” and “top” against their relative positioning from the figure’s left and bottom edges. Done means the cheatsheet accurately explains both parameters; no test is mentioned in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.