python-matplotlib can't display figures with TclError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
matplotlib (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-matplotlib
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu jaunty (development branch)
Release: 9.04
Codename: jaunty
$ LANG=C apt-cache policy python-matplotlib
python-matplotlib:
Installed: 0.98.5.2-1
Candidate: 0.98.5.2-1
Version table:
*** 0.98.5.2-1 0
500 http://
100 /var/lib/
There is a histogram demo available at a gallery site of matplotlib at
http://
I downloaded and ran this program, but it failed to draw the histogram
with some error messages as follows.
---
$ python histogram_demo.py
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/
return self.func(*args)
File "/usr/lib/
self.show()
File "/usr/lib/
tkagg.
File "/usr/lib/
tk.
TclError
---
When, in addition, I ran it, a window titled 'Figure 1' appeared. But, it displays nothing.
It's possible to avoid that problem by downgrading python-tk to 2.5.2 version