Re: [Matplotlib-users] help me to understand please

2009-03-28 Thread Sandro Tosi
On Sat, Mar 28, 2009 at 15:45, Bala subramanian wrote: > Friends, > In the following. I am not able to understand how this plot.show() works. I > have commented the problem in the following examples. You have to call plt.show() only when you want to actually show the figure. That's because you're

[Matplotlib-users] help me to understand please

2009-03-28 Thread Bala subramanian
Friends, In the following. I am not able to understand how this plot.show() works. I have commented the problem in the following examples. >>> plt.plot(x,y,'b-') [] >>> plt.show() *# shows the plot of x Vs y* >>> plt.ylim( (1.5,4.5) ) (1.5, 4.5) >>> plt.show() *# Does nt show the plot* >