Re: kill a window

2020-04-07 Thread Terry Reedy
On 4/7/2020 12:37 PM, J Conrado wrote: plt,close(1) You must have meant 'plt.close(1)', with a period. and to kil the window I have to click on the "X" in the top my window. What can I do to kil the window and plot other windows in squence. You code omits the definition of 'plt', so I won

Re: kill a window

2020-04-07 Thread DL Neil via Python-list
On 8/04/20 4:37 AM, J Conrado wrote: ... plt.title("Região a Ser Setorizada") plt.show() plt,close(1) and to kil the window I have to click on the "X" in the top my window. What can I do to kil the window and plot other windows in squence. Ola, perhaps use dotted-notation: plt.close( 1

Re: kill a window

2020-04-07 Thread Souvik Dutta
Are you doing it in tkinter? If so then close will be quit. Souvik flutter dev On Wed, Apr 8, 2020, 1:22 AM J Conrado wrote: > > > Hi, > > I have a script that read a netcdf data. I enter with keiboard two > values for latitude initial an final and same for longitude and I plot a > map. I use t

kill a window

2020-04-07 Thread J Conrado
Hi, I have a script that read a netcdf data. I enter with keiboard two values for latitude initial an final and same for longitude and I plot a map. I use the command plt.close(1) to kill the window. But, my window is not closed. This is a small par o my script: m = Basemap(llcrnrlon=loni