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
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
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
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,
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]:
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
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
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