matplotlib / matplotlib/matplotlib
[MNT]: Inconsistent API Figure.suptitle()
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 23.2k
- Forks
- 8.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 66
Description
### Summary
@story645 noted in https://github.com/matplotlib/matplotlib/pull/26629#discussion_r1314387831
Why is it `Figure.suptitle()` and not `Figure.set_suptitle()`. Same with `Figure.supxlabel()` / `Figure.supylabel()`.
And related: Should we do something about this?
### Proposed fix
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the public Figure.suptitle(), Figure.supxlabel(), and Figure.supylabel() entry points, along with the linked pull-request discussion. Determine whether these APIs should be renamed for consistency and define what compatibility or migration behavior would count as done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100