|
From: Vlastimil B. <vla...@gm...> - 2013-08-19 10:26:21
|
2013/8/19 Paul D. DeRocco <pde...@ix...>: > I've just tried Matplotlib for the first time, for plotting on the screen, > and the examples all seem to pop up a new window with interactive tools, > like Matlab does. That's very nice, but what I need is to create a static > plot that appears in some sort of widget in an existing window created > with PyGTK, without any of the controls. Is there a page that shows how > this can be done? Is it even possible? > > -- > > Ciao, Paul D. DeRocco > Paul mailto:pde...@ix... > Hi, to reuse the matplotlib controls or just the plotting area, check the examples on embedding in the demo pages: http://matplotlib.org/examples/user_interfaces/embedding_in_gtk.html or the others in the respective section: http://matplotlib.org/examples/user_interfaces/index.html (I don't use gtk myself, but I believe, it might be directly usable in your code.) hth, vbr |