From: Ted D. <ted...@jp...> - 2008-05-08 21:20:25
|
The toolbar is just a widget so you can do that the same way you show any other widget in Qt. Something along the lines of: - build a widget - add a layout - add the figure widget to the layout - add the toolbar to the layout - connect them together (I forget exactly how but backend_qt.py has all the code that does this) From: mat...@li... [mailto:mat...@li...] On Behalf Of Behnam Kamrani Sent: Thursday, May 08, 2008 11:19 AM To: mat...@li... Subject: [Matplotlib-users] Toolbar in QT Hi, First I want to thanks for this amazing Matplotlib. It's fantastic! My newbie question is how I can show the (zoom, pan, etc) toolbar in embedding_in_qt.py example? I have noticed that in animation_blit_qt.py the toolbar is available, but it seems to be done in a different way. Appreciate your help! Thank you, /Ben |