Try scatter(x, y, alpha=0)
This works for me with GTKAgg and svn, and I expect it will work with 87.7 also. There was some discussion about how to support something like "c=None", but I don't recall the outcome, and I don't know whether scatter is now an anomaly--but I don't think so. I think we just never got around to implementing a uniform solution. (The idea was that we don't want to use None in the kwarg to mean no color because it is more useful and conventional to have it mean "use the default". Therefore some string (e.g. "blank" or "nocolor" or "empty") should be used to denote "don't paint it at all", and should always work that way when a colorspec is allowed.) Eric Yannick Copin wrote: > Hi, > > I'd like to plot 'open symbols' (i.e. not color filled) w/ scatter. > Unfortunately, scatter doesn't support None color: > > scatter(randn(5),randn(5), s=(50,), c=None, edgecolor='r') > > or > > scatter(randn(5),randn(5), s=(50,), facecolor=None, edgecolor='r') > > fail w/ > > ValueError: to_rgb: Invalid rgb arg "None" > > Any hint on how to do it? Could None color be supported by scatter, or > should I set the markersize of each symbol from a plot command individually? > > Cheers. > > PS: this is a similar question as > http://sourceforge.net/mailarchive/message.php?msg_id=11876753, but > there was no answer it seems... ------------------------------------------------------------------------- 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