[Matplotlib-users] scatter plot without edge color

2011-10-15 Thread Chao YUE
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

Re: [Matplotlib-users] scatter plot without edge color

2011-10-15 Thread Durrieu Jean-Louis
Hi Chao! On Oct 15, 2011, at 2:55 PM, Chao YUE wrote: 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

Re: [Matplotlib-users] scatter plot without edge color

2011-10-15 Thread Tony Yu
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

Re: [Matplotlib-users] question about tight_layout()

2011-10-15 Thread Jae-Joon Lee
Figure.tight_layout() is a correct way. Do you see that error only when you use Figure.tight_plot (and not when you use plt.tight_layout)? What happen you try the script below. import matplotlib.pyplot as plt fig = plt.figure(1)ax = fig.add_subplot(111)fig.tight_layout() Regards, -JJ On Sat,

Re: [Matplotlib-users] scatter plot without edge color

2011-10-15 Thread Chao YUE
cool. it's done!! Thanks!!! Chao 2011/10/15 Tony Yu tsy...@gmail.com 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]:

[Matplotlib-users] instance check, finding figure elements

2011-10-15 Thread josef . pktd
I'm building plots in stages using several different functions. Since the figure contains all information, I don't hand handles to individual elements around. What's the best way to check for a specific plot element? using isinstance, or are there specific attributes that could be checked? For

Re: [Matplotlib-users] instance check, finding figure elements

2011-10-15 Thread John Hunter
On Sat, Oct 15, 2011 at 10:39 AM, josef.p...@gmail.com wrote: I'm building plots in stages using several different functions. Since the figure contains all information, I don't hand handles to individual elements around. What's the best way to check for a specific plot element? using

Re: [Matplotlib-users] question about tight_layout()

2011-10-15 Thread C M
On Sat, Oct 15, 2011 at 10:15 AM, Jae-Joon Lee lee.j.j...@gmail.com wrote: Figure.tight_layout() is a correct way. Do you see that error only when you use Figure.tight_plot (and not when you use plt.tight_layout)? Yes. What happen you try the script below. import matplotlib.pyplot as