2012/7/30 Benjamin Root <ben.r...@ou.edu>:
>
>
> 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).
>> [...]
>> 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

Thanks for the quick response and a useful hint!

I apparently didn't search for the right terms before...
I turns out, that
http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_wx2.html
shows exactly, what I need.

By the way is there a place to propose a small correction of the example code?
namely
        self.SetBackgroundColour(wx.NamedColor("WHITE"))

causes an error in wxpython 2.9, which removed the "...Color" aliases
and only knows "...Colour"
hence:

        self.SetBackgroundColour(wx.NamedColour("WHITE"))

works in wxpython 2.9 and should be backwards compatible too.

Thanks again,
    vbr

------------------------------------------------------------------------------
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

Reply via email to