matplotlib / matplotlib/matplotlib

[MNT]: Inconsistent API Figure.suptitle()

Open
#26,691 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Maintenance
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

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.