[Matplotlib-users] read a png image with alpha gives uncorrect colors

PBrockmann Patrick.Brockmann at lsce.ipsl.fr
Fri Sep 11 17:39:53 CEST 2015


Hi, 

I have encountered a problem with this simplified code where I produce 
a windrose with some alpha level. 
Then read this png image to check.
Then discover that the colors are not correct.

What is the mistake ?
I am puzzled.

I use matplotlib 1.4.3

The correct windrose with alpha colors
<http://matplotlib.1069221.n5.nabble.com/file/n46131/windrose.png> 

The read png image.
<http://matplotlib.1069221.n5.nabble.com/file/n46131/read.png> 

Regards
Patrick







--
View this message in context: http://matplotlib.1069221.n5.nabble.com/read-a-png-image-with-alpha-gives-uncorrect-colors-tp46131.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


More information about the Matplotlib-users mailing list