On Sat, Oct 15, 2011 at 8:55 AM, Chao YUE <chaoyue...@gmail.com> wrote:

> Dear all,
>
> how can I make a scatter plot without edgecolor?
>
> import matplotlib.pyplot as plt
> In [110]: plt.scatter(np.arange(10),np.arange(10,20),edgecolor=None)
> Out[110]: <matplotlib.collections.CircleCollection object at 0x5cf16d0>
>
> in this case I can use edgecolor='w' to solve it, but when points overlap,
> this does not work anymore.
> Any help will be appreciated. Thanks.
>

Hi Chao,

I think what you want is 'none':

plt.scatter(np.arange(10),np.arange(10,20), color='y',edgecolor='none')

It's confusing, but None is used to let matplotlib auto-select the color,
while 'none' is used to turn off edge coloring.

Best,
-Tony
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to