Integrating matplotlib into a GUI

Hello,

So far, I have been spending many nice hours using
matplotlib from within an IPython shell. However, the number of
variables that are inside my session is getting higher the more I deep
into data analysis. As a result I want to go one step further and carry
my efforts on integrating matplotlib with a GUI as is shown similar in
the uploaded screenshot (http://img258.imageshack.us/img258/1046/cplot.png).

I know wxPython or PyQt seems way to go on this issue. But (there
is always this but :slight_smile: there is Chaco on the Enthought side and with
nicely and simply integration with Traits and Traits UI.

Are
there anybody in the group that design a similar tool for their
scientific data analysis needs? Could I get some insight into this? Any
recommendations or pointers? Why’s and why not’s?

Thank you

Gökhan

I know wxPython or PyQt seems way to go on this issue. But (there is
always this but :slight_smile: there is Chaco on the Enthought side and with
nicely and simply integration with Traits and Traits UI.

Are there anybody in the group that design a similar tool for their
scientific data analysis needs? Could I get some insight into this?
Any recommendations or pointers? Why's and why not's?

You can integrate matplotlib plots into a Traits app. I wrote this
recipe:

http://www.scipy.org/Cookbook/EmbeddingInTraitsGUI

Both Chaco and Matplotlib are excellent. If you want multiple
interactive elements in your plot (drag-able labels, cursors etc.),
Chaco is probably the best bet. However, for quick data-exploration
apps, I find matplotlib quicker to set up (it's defaults "just work",
whereas Chaco takes a bit more preparation).

Either way, Traits is indispensable.

BC

···

Thank you

Gökhan
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Hello,

Thanks for the pointer Bryan. I also seen Gael’s tutorial (http://gael-varoquaux.info/computers/traits_tutorial/index.html)

To me, it seems much easier to use Traits, instead of learning WX or QT. They are still confusing to me, and seemingly Traits is there to help me implement what I have had in my mind for a while.

Gökhan

···

On Sun, Apr 26, 2009 at 2:52 AM, Bryan Cole <bryan@…2574…> wrote:

I know wxPython or PyQt seems way to go on this issue. But (there is

always this but :slight_smile: there is Chaco on the Enthought side and with

nicely and simply integration with Traits and Traits UI.

Are there anybody in the group that design a similar tool for their

scientific data analysis needs? Could I get some insight into this?

Any recommendations or pointers? Why’s and why not’s?

You can integrate matplotlib plots into a Traits app. I wrote this

recipe:

http://www.scipy.org/Cookbook/EmbeddingInTraitsGUI

Both Chaco and Matplotlib are excellent. If you want multiple

interactive elements in your plot (drag-able labels, cursors etc.),

Chaco is probably the best bet. However, for quick data-exploration

apps, I find matplotlib quicker to set up (it’s defaults “just work”,

whereas Chaco takes a bit more preparation).

Either way, Traits is indispensable.

BC

Thank you

Gökhan


Crystal Reports - New Free Runtime and 30 Day Trial

Check out the new simplified licensign option that enables unlimited

royalty-free distribution of the report engine for externally facing

server and web deployment.

http://p.sf.net/sfu/businessobjects

_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Crystal Reports - New Free Runtime and 30 Day Trial

Check out the new simplified licensign option that enables unlimited

royalty-free distribution of the report engine for externally facing

server and web deployment.

http://p.sf.net/sfu/businessobjects


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Hello,

Thanks for the pointer Bryan. I also seen Gael's tutorial
(http://gael-varoquaux.info/computers/traits_tutorial/index.html)

To me, it seems much easier to use Traits, instead of learning WX or QT.

It is. I had spent hours learning Tk, Wx, and Qt looking for a
"practical" gui solution ... but then I found Traits and I haven't
looked back.

···

On Sun, Apr 26, 2009 at 6:41 PM, Gökhan SEVER <gokhansever@...287...> wrote:

They are still confusing to me, and seemingly Traits is there to help me
implement what I have had in my mind for a while.

Gökhan

On Sun, Apr 26, 2009 at 2:52 AM, Bryan Cole <bryan@...1120...> wrote:

> I know wxPython or PyQt seems way to go on this issue. But (there is
> always this but :slight_smile: there is Chaco on the Enthought side and with
> nicely and simply integration with Traits and Traits UI.
>
> Are there anybody in the group that design a similar tool for their
> scientific data analysis needs? Could I get some insight into this?
> Any recommendations or pointers? Why's and why not's?

You can integrate matplotlib plots into a Traits app. I wrote this
recipe:

http://www.scipy.org/Cookbook/EmbeddingInTraitsGUI

Both Chaco and Matplotlib are excellent. If you want multiple
interactive elements in your plot (drag-able labels, cursors etc.),
Chaco is probably the best bet. However, for quick data-exploration
apps, I find matplotlib quicker to set up (it's defaults "just work",
whereas Chaco takes a bit more preparation).

Either way, Traits is indispensable.

BC

>
> Thank you
>
> Gökhan
>
> ------------------------------------------------------------------------------
> Crystal Reports &#45; New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty&#45;free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________ Matplotlib-users mailing
> list Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Hi Gary,

Could you please give some information on how Traits compare to Wx or
Qt? What are Traits' limits? I haven't started writing anything on GUI
level yet, but spending time to understand the Traits way.

Thank you.

Gökhan

···

On Wed, Apr 29, 2009 at 11:10 AM, Gary Pajer <gary.pajer@...287...> wrote:

On Sun, Apr 26, 2009 at 6:41 PM, Gökhan SEVER <gokhansever@...287...> wrote:

Hello,

Thanks for the pointer Bryan. I also seen Gael's tutorial
(http://gael-varoquaux.info/computers/traits_tutorial/index.html)

To me, it seems much easier to use Traits, instead of learning WX or QT.

It is. I had spent hours learning Tk, Wx, and Qt looking for a
"practical" gui solution ... but then I found Traits and I haven't
looked back.

They are still confusing to me, and seemingly Traits is there to help me
implement what I have had in my mind for a while.

Gökhan

On Sun, Apr 26, 2009 at 2:52 AM, Bryan Cole <bryan@...1120...> wrote:

> I know wxPython or PyQt seems way to go on this issue. But (there is
> always this but :slight_smile: there is Chaco on the Enthought side and with
> nicely and simply integration with Traits and Traits UI.
>
> Are there anybody in the group that design a similar tool for their
> scientific data analysis needs? Could I get some insight into this?
> Any recommendations or pointers? Why's and why not's?

You can integrate matplotlib plots into a Traits app. I wrote this
recipe:

http://www.scipy.org/Cookbook/EmbeddingInTraitsGUI

Both Chaco and Matplotlib are excellent. If you want multiple
interactive elements in your plot (drag-able labels, cursors etc.),
Chaco is probably the best bet. However, for quick data-exploration
apps, I find matplotlib quicker to set up (it's defaults "just work",
whereas Chaco takes a bit more preparation).

Either way, Traits is indispensable.

BC

>
> Thank you
>
> Gökhan
>
> ------------------------------------------------------------------------------
> Crystal Reports &#45; New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty&#45;free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________ Matplotlib-users mailing
> list Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users