On Fri, Aug 24, 2012 at 02:39:12PM -0700, Michael Rawlins wrote:
> 
> 
> 
> 
> ________________________________
>  From: Damon McDougall <damon.mcdoug...@gmail.com>
> To: Michael Rawlins <rawlin...@yahoo.com> 
> Cc: "matplotlib-users@lists.sourceforge.net" 
> <matplotlib-users@lists.sourceforge.net> 
> 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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to