On Sunday, July 29, 2012, Vlastimil Brom wrote:
> Hi all,
> I'd like to ask about the possibility to eventually reuse the gui of
> pylab for showing and manipulating the plots in the custom application
> (written in wxpython).
> Basically, I'd like to add some application specific controls to the
> toolbar, or to place the existing gui to a custom frame, which would
> add such additional controls (slider, buttons, etc.)
> I looked at ...
> Python27\Lib\site-packages\matplotlib\backends\backend_wx.py , but
> couldn't find any way to access this windows in custom code.
> Would it be possible at all, or are there other options? Is there
> maybe some equivalent class/module etc. which could be reused or
> adapted?
> Or is the only way to reimplement the functionality writing my own
> plot gui (or to have the additionally needed controls in a separate
> window, which doesn't look very elegant, but could probably work).
>
> Thanks in advance for any hints
> regards
> Vlastimil Brom
Absolutely! It is one of the things mpl does best. Do a search in the
online documentation for "embedding codex".
I hope that helps!
Ben Root
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users