As a quick-fix workaround, you can do: from matplotlib.pyplot import * p = scatter([0,1,2,3], [4,5,6,7], c ='k', alpha=0, edgecolor = 'k') p._alpha = 1.0 p.set_edgecolor('k') show()
But the deeper question is for the rest of the list is... what's the correct behavior? Should we just revert to what it did in 0.91, or add another kwarg to set the edge alpha? Cheers, Mike S Murthy Kambhampaty wrote: > There seems to have been a change to the behavior of the 'alpha' keyword > option to scatter(): where previously alpha only affected the facecolor, and > the edgecolor always had an alpha of 1.0, alpha now seems to affect both > facecolor and edgecolor. Tested with 0.93.1 and 0.98. Tested with new API > for 0.98 as well. > > ax.scatter(xSeries, ySeries, s=sY, c='k', alpha=0, edgecolor='k') > > and > > plot1=ax.scatter(xSeries, ySeries, s=sY, c='k') > plot1.set_alpha(0) > plot1.set_edgecolor('k') > > Is there any way to get the old behavior using version 0.98 and forward? > > Thanks, > Murthy > > > > > > ------------------------------------------------------------------------- > 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-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- 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-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users