Embedding Matplotlib images into wxPython

D

dr_tyson

I am trying to embed images into a wxPython app (created using Boa
Constructor), but have not been able to do so. I know how to embed
plots, but images seem to be a problem. I've tried using code analogous
to the example given at the Matplotlib website to no avail. If anybody
has been successful at this could you please post some sample code?
That would be greatly appreciated. Thanks!

Randy
 
D

dr_tyson

Well, to answer my own question, the problem turned out to be that I
was using the 'wx' backend and not the 'wxagg' one. Attempting to use
the former typically resulted in a not implemented error upon the call
to imshow. I was working from an older set of matplotlib example files
which didn't include the dynamic image with wxagg demo. Thank goodness
for those examples! No better way to learn how to implement code.
 
K

khromushin

I wrote a matplotlib Boa constructor plug-in. It is very easy to add it into
a wxframe, sizers etc in Boa constructor.
If you are interested in the plugin, pls. send e-mail to (e-mail address removed).

Igor Khromushin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top