|
From: Thomas C. <tca...@gm...> - 2015-01-28 19:42:50
|
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 On Wed Jan 28 2015 at 2:39:16 PM <mo...@po...> wrote: > On 2015-01-28 16:25 Thomas Caswell <tca...@gm...> 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 > couldn't find an example or documentation about it. > > ------------------------------------------------------------ > ------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |