In the second case, after x, nothing really happened. The program 
resecuted the def it was in.

On 2/7/2010 7:19 PM, Wayne Watson wrote:
> Well, that didn't quite work.
>
> I tried
> ...
> fig=figure()
> ...
> fig.close()
> show()
>
> and
> show()
> fig.close()
>
> In the first case, I got the error msg:
>
> On 2/7/2010 7:15 PM, Wayne Watson wrote: Figure has no attribute close
>    
>> Thanks. It seems most example of matplotlib end with show(). In fact,
>> all may end that way, at least the short ones.
>>
>> On 2/7/2010 1:50 PM, Jeff Whitaker wrote:
>>
>>      
>>>>    I need to know how to close a figure/chart in matplolib.
>>>>
>>>>          
>>>
>>>        
>>
>>      
>    

-- 
My life in two words. "Interrupted Projects." -- WTW (quote originator)

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to