matplotlib in wxpython

can any one tell my how to embedd matplotlib to wxpython?

thank you very much

harya dananjaya

···

--
Powered by:
Sabily -- http://sabily.org

http://lmgtfy.com/?q=matplotlib+wxpython

···

On Tue, Feb 9, 2010 at 5:59 AM, Harya Dananjaya dananzoff@gmail.com wrote:

can any one tell my how to embedd matplotlib to wxpython?

thank you very much

harya dananjaya

Powered by:

Sabily – http://sabily.org

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

Mike Driscoll

Blog: http://blog.pythonlibrary.org

Mike Driscoll wrote:

···

On Tue, Feb 9, 2010 at 5:59 AM, Harya Dananjaya <dananzoff@gmail.com > <mailto:dananzoff@gmail.com>> wrote:
    can any one tell my how to embedd matplotlib to wxpython?
http://lmgtfy.com/?q=matplotlib+wxpython

Those are the basics. I also recommend wxMPL:

http://agni.phys.iit.edu/~kmcivor/wxmpl/

-Chris

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Thank you,
after trial and error, I can embedd matplotlib in wxpython using wxAgg,
what is the benefit using wxMPL than wxAgg?

Thank You,

Harya Dananjaya

···

On 10/02/10 02:30, Christopher Barker wrote:

Those are the basics. I also recommend wxMPL:

http://agni.phys.iit.edu/~kmcivor/wxmpl/

-Chris

--
Powered by:
Sabily -- http://sabily.org

Harya Dananjaya wrote:

after trial and error, I can embedd matplotlib in wxpython using wxAgg,
what is the benefit using wxMPL than wxAgg?

see the docs, but in short, wxMPL provides a wxWindow with a figure in it that supports mouse interaction, etc. It's built on wxAgg anyway, but makes some things a bit easier.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

I have installed wxMPL, but when I run the example, there are error generated,
the error message is :

···

On 10/02/10 03:47, Christopher Barker wrote:

see the docs, but in short, wxMPL provides a wxWindow with a figure in it that supports mouse interaction, etc. It's built on wxAgg anyway, but makes some things a bit easier.

-Chris

**********************************************************
matplotlib.numerix and all its subpackages are deprecated.
They will be removed soon. Please use numpy instead.
**********************************************************

   warnings.warn(msg, DeprecationWarning)
Traceback (most recent call last):
   File "tes.py", line 2, in <module>
     import wxmpl
   File "/usr/local/lib/python2.6/dist-packages/wxmpl.py", line 26, in <module>
     from matplotlib.axes import PolarAxes, _process_plot_var_args
ImportError: cannot import name PolarAxes

how to fix this error?

Thanx

Harya Dananjaya