|
From: Damon M. <dam...@gm...> - 2012-08-25 08:21:49
|
On Fri, Aug 24, 2012 at 02:39:12PM -0700, Michael Rawlins wrote: > > > > > ________________________________ > From: Damon McDougall <dam...@gm...> > To: Michael Rawlins <raw...@ya...> > Cc: "mat...@li..." <mat...@li...> > Sent: Friday, August 24, 2012 4:22 PM > Subject: Re: [Matplotlib-users] plotting a colored symbol with plot command > > On Fri, Aug 24, 2012 at 09:20:47PM +0100, Damon McDougall wrote: > > plt.pyplot gives an error: > > AttributeError: 'module' object has no attribute 'pyplot' > Sorry, that's my mistake. It should be plt.plot > > If I use plt.plot(x, y, color='g', marker='.', markersize=3.0) > > the dots are black. That should not happen... Have you tried some of the other colours? 'r', 'b', 'm', 'y', 'c'? Are they all black? What are you saving the file as? What is the output of: plt.get_backend() > But I've found success with: > > plt.plot(x,y,'wo',markeredgecolor='white',markersize=3.0) > > so all is well. Thanks for your help. > -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom |