From: Lars Ruoff <lars.ruoff@gm...> - 2009-07-02 20:20:53
i'm new to the list.
i'm using matplotlib via the networkx graph package.
I wonder if there is a way i could draw a graph in a Tkinter canvas widget
of my application.
I.e. my Python application creates the Tkinter canvas and somehow passes it
argument to a matplotlib draw function.
I read the documentation section about Backends
(http://matplotlib.sourceforge.net/faq/installing_faq.html#backends), and it
suggests there is something like a Tkinter based backend (TkAgg), but i
couldn't really figure out how to go ahead with this.
So my question: How do i use matplotlib to draw to a Tkinter Canvas provided
by my application?
Any help would be much appreciated.