Skip to content

MNT: Refactor to make colorbar Axes patching more clear - #32427

Open
timhoffm wants to merge 1 commit into
matplotlib:mainfrom
timhoffm:mnt-refactor-colorbar-method-patching
Open

timhoffm wants to merge 1 commit into
matplotlib:mainfrom
timhoffm:mnt-refactor-colorbar-method-patching

Conversation

@timhoffm

@timhoffm timhoffm commented Oct 2, 2026

Copy link
Copy Markdown
Member

PR summary

Minor refactoring, let's give the Axes patching a stonger context/name by extracting it into a method. The _cbar_cla method is only moved up, so that one can easily see how the interact.

Noted while reviewing the Multivar Colorbar PR.

AI Disclosure

No AI.

PR quality check

  • Use an expressive title, e.g. "Fix title font property precedence"
  • N/A New and changed code is tested
  • N/A Plotting related features are demonstrated in an example
  • N/A New features and API changes have release notes
  • N/A Documentation complies with general and docstring guidelines

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant