By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,235 Members | 1,011 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,235 IT Pros & Developers. It's quick & easy.

Embedding Matplotlib images into wxPython

P: n/a
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

Aug 30 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.

Aug 30 '05 #2

P: n/a

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 kh***@inp.kz.

Igor Khromushin

dr******@hotmail.com wrote:
>
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

--
http://mail.python.org/mailman/listinfo/python-list



--
View this message in context: http://www.nabble.com/Embedding-Matp....html#a7027545
Sent from the Python - python-list mailing list archive at Nabble.com.

Oct 27 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.