FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix Colorbar extend patches to have correct alpha by AnnaMastori · Pull Request #23260 · matplotlib/matplotlib · GitHub

Repository navigation

Fix Colorbar extend patches to have correct alpha - #23260

Merged
oscargus merged 1 commit into
matplotlib:mainfrom
NickolasGiannatos:fix-colorbar
Jun 14, 2022
Merged

oscargus merged 1 commit into
matplotlib:mainfrom
NickolasGiannatos:fix-colorbar

Conversation

Copy link
Copy Markdown
Contributor

PR Summary

Add self.alpha to PathPatch creation in _do_extends method in order for the extend patches of the colorbar to have the correct alpha. (closes #22970)

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).

oscargus merged commit 806d407 into matplotlib:main Jun 14, 2022

jklymak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Post-facto, but it would be nice if a test were added for this...

oscargus commented Jun 14, 2022 •
edited
Loading

Copy link
Copy Markdown
Member

I thought about that as well, but then couldn't really come up with anything better than an image test. I'll add one in #22865.

Edit: I can add one elsewhere. Realized that I had messed up my local handling of #22865.

QuLogic commented Jun 15, 2022

Copy link
Copy Markdown
Member

meeseeksdev backport to v3.5.x

meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Jun 15, 2022
QuLogic pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Jun 21, 2022
timhoffm added a commit that referenced this pull request Jun 21, 2022
…260-on-v3.5.x

Backport PR #23260 on branch v3.5.x (Fix Colorbar extend patches to have correct alpha)
oscargus mentioned this pull request Nov 2, 2022
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

[Bug]: Colorbar extend patches do not have correct alpha

6 participants


Back | FazBrowse Home | New Git URL