set markerfacecolor (a.k.a. mfc) = 'None' (make sure you include the quotes).
-Andrew John T Whelan wrote: > Dear matplotlib gurus, > > When I use > > plot(t,x,'rx',t,y,'bs'); > > in matlab, it produces blue boxes for y, i.e., squares with a blue > border and a transparent interior, so that if one of them lies on top > of a red x, I can see the red x inside the blue box. The same > construction in matplotlib produces blue squares: squares with a black > border and a blue interior. I can change the color of the interior > with the markerfacecolor or mfc argument, e.g., > > plot(t,x,'rx'); > plot(t,y,'bs',mec='b',mfc='w'); > > but that produces an opaque white interior which renders invisible any > red x it covers up. > > I can change the transparency of a line with the alpha argument, but > there seems to be no corresponding markerfacealpha. > > Is there a way in matplotlib to get a square marker with a blue border > and a transparent interior? > > Thanks, > ------------------------------------------------------------------------- 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