On Sat, Oct 15, 2011 at 10:15 AM, Jae-Joon Lee 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 plt
> fig = plt.
On Sat, Oct 15, 2011 at 10:39 AM, 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
> isinstance, or are th
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
cool. it's done!! Thanks!!!
Chao
2011/10/15 Tony Yu
>
>
> On Sat, Oct 15, 2011 at 8:55 AM, Chao YUE 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[
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, O
On Sat, Oct 15, 2011 at 8:55 AM, Chao YUE 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]:
>
> in this case I can use edgecolor='w' to solve it, but when
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]:
>
> in this case I can use edgecolor='w' to solve it, but when points overlap,
> this does not work anymore.
> Any help will
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]:
in this case I can use edgecolor='w' to solve it, but when points overlap,
this does not work anymore.
Any help will be appre