Skip to content

[ENH]: add Figure.align_titles() functionality#22793

Closed
aswarner wants to merge 14 commits into
matplotlib:mainfrom
aswarner:vector
Closed

[ENH]: add Figure.align_titles() functionality#22793
aswarner wants to merge 14 commits into
matplotlib:mainfrom
aswarner:vector

Conversation

@aswarner

@aswarner aswarner commented Apr 6, 2022

Copy link
Copy Markdown

PR Summary

Resolves #22376 . Add Figure.align_titles() function, which automatically aligns titles of subplots on a single figure, in the style of align_labels().

NOTE: This PR contains tested code but we still need to complete documentation and pytest.

PR Checklist

Tests and Styling

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all).

Documentation

  • New features are documented, with examples if plot related.
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

[ENH]: align_titles

9 participants