Loading...

matplotlib-users@lists.sourceforge.net

[Prev] Thread [Next]  |  [Prev] Date [Next]

[Matplotlib-users] (no subject) frank . feiler Sat Feb 18 16:00:40 2012

Hello all.

I have a rather long code and get always a strange error:

can't invoke "event" command:  application has been destroyed
    while executing
"event generate $w "
    (procedure "ttk::ThemeChanged" line 6)
    invoked from within
"ttk::ThemeChanged"
The code is too long but I found some other code that produces exactly

same type of error (see below).

Does anybody have an idea what can be done in this case? Thx for 
some help.

Frank.

I use: Ubuntu 10.10, 64 bit, Tkinter, Python 2.6, etc ...

***************************************************************

import matplotlib.pyplot as plt

fig1 = plt.figure()
plt.plot(range(10), 'ro-')
plt.title('This figure will be saved but not shown')
fig1.savefig('fig1.png')
plt.close(fig1)

fig2 = plt.figure()
plt.plot(range(10), 'bo')
plt.title('This figure will be shown')

plt.show()
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Matplotlib-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users