Thanks. mpl was applying the default alpha of 1.0 to the set of colors rather than ignoring it when an alpha is provided for each color. This is now fixed in SVN r5554
Cheers, Mike Mátyás János wrote: > Hi, > > setting colors with transparency no longer works for me in > 0.98.0, but worked before in 0.91.3: > > c = matplotlib.collections.LineCollection(lines, colors = lineColors) > > This shows the lines only with the base colors without transparency. > > However, if I modify the code to the following, the colors shows > properly with transparency: > > c = matplotlib.collections.LineCollection(lines) > c.set_color(lineColors) > > > Mátyás János > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel