Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Bug summary
Onmain
, if I plot an RGBA image and then mess about with the gui window size, the image keeps getting darker.
Code for reproduction
importmatplotlib.pyplotaspltimportnumpyasnpnp.random.seed(42)rgba=np.random.random((2,2,4))fig,ax=plt.subplots()ax.imshow(rgba)plt.show()
Actual outcome
After resizing the window a lot
Expected outcome
Additional information
The problem is specific to RGBA - I noticed it first with the code from#26092 (comment), where only the top two plots of the righthand column are affected.
Operating system
RHEL9
Matplotlib Version
main
Matplotlib Backend
qtagg
Python version
3.12.7
Jupyter version
n/a
Installation
git checkout