Re: [Matplotlib-users] using it in a Qt5-Widget

2015-01-28 Thread Sterling Smith
Did you come across http://matplotlib.org/examples/user_interfaces/embedding_in_qt4.html ? -Sterling On Jan 28, 2015, at 11:38AM, moon...@posteo.org wrote: On 2015-01-28 16:25 Thomas Caswell tcasw...@gmail.com wrote: It should be exactly the same as for Qt4, just importing from the Qt5

Re: [Matplotlib-users] using it in a Qt5-Widget

2015-01-28 Thread Thomas Caswell
It should be exactly the same as for Qt4, just importing from the Qt5 version Tom On Wed Jan 28 2015 at 11:24:55 AM moon...@posteo.org wrote: I read the documentation a little bit. But I couldn't find a hint how to integrate a plot with matplotlib into a Qt5-Gui.

[Matplotlib-users] using it in a Qt5-Widget

2015-01-28 Thread moonkid
I read the documentation a little bit. But I couldn't find a hint how to integrate a plot with matplotlib into a Qt5-Gui. -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and

Re: [Matplotlib-users] using it in a Qt5-Widget

2015-01-28 Thread moonkid
On 2015-01-28 16:25 Thomas Caswell tcasw...@gmail.com wrote: It should be exactly the same as for Qt4, just importing from the Qt5 version Sorry, but my question was to unspecific. I don't know how it worked with Qt4. I need to know I can draw a plot into a QWidget or something else. I

Re: [Matplotlib-users] using it in a Qt5-Widget

2015-01-28 Thread Thomas Caswell
http://matplotlib.org/examples/user_interfaces/embedding_in_qt4_wtoolbar.html and http://matplotlib.org/examples/user_interfaces/embedding_in_qt4.html are a good place to start. Embedding a mpl figure in a QWidget is how the QtAgg backend family works and how the interactive windows work. Tom

Re: [Matplotlib-users] using it in a Qt5-Widget

2015-01-28 Thread Paul Hobson
At the top of www.matplotlib.org, there is an examples link. Scroll down a bit, there's a section titled user interface examples http://matplotlib.org/examples/user_interfaces/index.html The QT4 example works on my machine currently, so it's reasonably up to date. -p On Wed, Jan 28, 2015 at