Back to Matplotlib

API Changes for 3.10.1

doc/api/prev_api_changes/api_changes_3.10.1.rst

3.10.9415 B
Original Source

API Changes for 3.10.1

Behaviour

alpha parameter handling on images


When passing and array to ``imshow(..., alpha=...)``, the parameter was silently ignored
if the image data was a RGB or RBGA image or if :rc:`interpolation_state`
resolved to "rbga".

This is now fixed, and the alpha array overwrites any previous transparency information.