-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
[Bug]: alpha array-type not working with RGB image in imshow() #26092
Copy link
Copy link
Closed
Labels
Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!status: confirmed bugtopic: color/alphatopic: images
Milestone
Metadata
Metadata
Assignees
Labels
Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!status: confirmed bugtopic: color/alphatopic: images
Bug summary
Hi,
Whereas
alpha = constantworks with RGB image, this is not the case when working with anarray-typefor alpha.(In my real case, I can only pass standard imshow parameters like
alphato the function of the library I use, and not a RGBA array).Patrick
Code for reproduction
Actual outcome
Expected outcome
Additional information
No response
Operating system
Windows
Matplotlib Version
3.7.1
Matplotlib Backend
TkAgg
Python version
Python 3.10.11
Jupyter version
No response
Installation
pip