tkinter+matplotlib

Giacomo Boffi giacomo.boffi at polimi.it
Mon Mar 27 10:15:21 EST 2006


i have coded some progs that use the Pmw.Blt.Graph widgets, embedded
in a simple Tkinter GUI

,----
| from Tkinter import *
| import Pmw
| ...
| frame=Frame(root)
| ...
| graph=Pmw.Blt.Graph(frame,...)
| graph.line_create(...)
| graph.pack(...)
`----

now i'd like to port those progs to an environment where i have no BLT

assuming that i can use matplotlib to draw the line graphs i need, how
do i place the graph widget inside my tkinter GUI?

tia,
                                                                gb
-- 
  If you grow tired of the friends you make
           Never ever turn the back on them
Say they were the best of time you ever had
The best of times with the thougthless kind        -- John Cale



More information about the Python-list mailing list