From: John H. <jdh...@ac...> - 2004-03-16 12:51:39
|
>>>>> "Gary" == Gary Pajer <pa...@in...> writes: Gary> I've been poking aroung a bit trying to see if I can locate Gary> my plots in a frame in my own Tkinter GUI rather than a Gary> stand-alone window. Gary> It looks like it might be possible if I can, for example, Gary> extract the frame instance from a TkAgg plot (or something Gary> like that) Gary> Can anyone comment or suggest a route? Todd, is this easily doable? Could you write an embedding_in_tk.py example along the lines of embedding_in_gtk and embedding_in_wx? The FigureCanvas derived instance in backend_* is meant to be a widget you could plug into a GUI, but I notice you took a different tack in backend_tkagg. The idea behind this is that users may want to embed a figure as part of a GUI window, eg in a widget container, without necessarily bringing the toolbar along or using the whole window. Would this be an easy refactoring of backend_tkagg? Thanks, JDH |