>>>>> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes:

    Eric> Try scatter(x, y, alpha=0)

Hmm, this surprises me -- the edgecolor should respect alpha too, no?
I'm inclined to consider this a bug -- agree?

The following should work in any backend that supports alpha

  scatter(rand(100), rand(100), s=50, facecolor=(1,1,1,0))

Though in older versions of mpl you will need to use a sequence of
facecolors since earlier versions of collections required all
properties to be sequences

  scatter(rand(100), rand(100), s=50, facecolor=((1,1,1,0),))

The problem with alpha solution is it won't work in postscript.  We
should either adopt the nocolor approach or add the 'fill' property
like we have in patches.  One solution is to modify the color
converter to return None if the color is 'nocolor' which will allow us
to continue using None for 'use the default'.  The downside is
modifying all the backends to respect it....

JDH


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to