Re: Matplotlib widget and Dynamic Graph demo

John Henry <[email protected]> Wed, 20 Apr 2011 10:53:36 -0700 (PDT)
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
Glad you like it.  As an engineer, I always wished that I can do this kind of 
graphs.  My GUI programming skill is restricted to Pythoncard only.  Now, the 
door is wide open for me.

The example I am working on is even more impressive.  Now that I know how to 
have multiple panels in one Window, I want to show how to do multiple dynamic 
curves in a window!
 --
John Henry



----- Original Message ----
> From: "Wagner, John" <[email protected]>
> To: "[email protected]" 
><[email protected]>
> Sent: Wed, April 20, 2011 9:37:30 AM
> Subject: [Pythoncard-users] Matplotlib widget and Dynamic Graph demo
> 
> The pythoncard dynamic graph and matplotlib widget are wonderful.  The  
>matplotlib widget is a major addition to pythoncard, and the dynamic graph makes  
>an excellent demo.  Thanks for posting it.
> 
> John  Wagner
> 
> 
> 
> -----Original Message-----
> From: [email protected] 
>[mailto:[email protected]] 
>
> Sent: Wednesday, April 20, 2011 12:00 AM
> To: [email protected]
> Subject:  Pythoncard-users Digest, Vol 40, Issue 10
> 
> Send Pythoncard-users mailing  list submissions to
>     [email protected]
> 
> To  subscribe or unsubscribe via the World Wide Web, visit
>     https://lists.sourceforge.net/lists/listinfo/pythoncard-users
> or, via  email, send a message with subject or body 'help' to
>     [email protected]
> 
> You  can reach the person managing the list at
>     [email protected]
> 
> When  replying, please edit your Subject line so it is more specific than "Re:  
>Contents of Pythoncard-users digest..."
> 
> 
> Today's Topics:
> 
>     1. Dynamic Graph in Matplotlib/Pythoncard (was Re:     Added
>       Matplotlib FigureCanvas widget to Pythoncard)  (John Henry)
>    2. Re: Action Editor resurracted (Alec  Bennett)
>    3. Re: Action Editor resurracted (John  Henry)
> 
> 
> ----------------------------------------------------------------------
> 
> Message:  1
> Date: Sun, 17 Apr 2011 20:54:56 -0700 (PDT)
> From: John Henry <[email protected]>
> Subject:  [Pythoncard-users] Dynamic Graph in Matplotlib/Pythoncard
>      (was Re:    Added Matplotlib FigureCanvas widget to  Pythoncard)
> To: John Henry <[email protected]>,
>     [email protected]
> Message-ID:  <[email protected]>
> Content-Type:  text/plain; charset="us-ascii"
> 
> I uploaded a port of the 2nd example at  
>http://eli.thegreenplace.net/2008/08/01/matplotlib-with-wxpython-guis/ for a  
>dynamic graph (like a moving strip recorder) using the Pythoncard Matplotlib  
>widget I added.
> 
> 
>https://sourceforge.net/tracker/?func=detail&aid=3288729&group_id=19015&atid=369015
>5
> 
> 
>   Have fun!
>  --
> John Henry
> 
> 
> >
> >From: John Henry <[email protected]>
> >To: [email protected]
> >Sent:  Wed, April 13, 2011 8:42:52 PM
> >Subject: Added Matplotlib FigureCanvas  widget to Pythoncard
> >
> >
> >There are still work to be done but  for an early (and working) version, 
> >download
> >from:
> >
> >
> >https://sourceforge.net/tracker/?group_id=19015&atid=369015
> >
> >
> >It  might require my earlier submittions (pdfwindow, flashwindow,  
> >drag-n-drop tree, MDLWindow w Sash)...
> > --
> >John  Henry
> -------------- next part --------------
> An HTML attachment was  scrubbed...
> 
> ------------------------------
> 
> Message: 2
> Date:  Mon, 18 Apr 2011 05:34:59 -0700
> From: Alec Bennett <[email protected]>
> Subject: Re:  [Pythoncard-users] Action Editor resurracted
> To: John Henry <[email protected]>
> Cc: [email protected]
> Message-ID:  <[email protected]>
> Content-Type:  text/plain; charset="iso-8859-1"
> 
> Thank you!
> 
> Is there a list of  what files have been modified?
> 
> 
> 
> On Sat, Apr 16, 2011 at 7:25 PM,  John Henry <[email protected]> wrote:
> 
> > In  2004, there was a experimentalResourceEditor released with  PythonCard.
> >  To be honest, it wasn't very good (in my humble  opinion).  However, 
> > it had one feature that I like a lot - the  Action Editor.  This is a 
> > dialog for selecting which action (or  methods) to activate for a particular 
>widget.
> >  For instance, if you  created a button, you can select mouseClick, 
> > mouseMove, and so  forth.  It was very nice because now I don't have to 
> > memorize  which widget can do what.  I just select that from a list.
> >
> >  It appears the code was never finished - or at least to the degree I 
> >  like to see it.  With a later release of layoutEditor (not sure if it 
> > was later or not but nonetheless, layoutEditor is what I use), this 
> > feature was dropped - or never included in  layoutEditor.
> >
> > Well, I like the feature so much that I decided to  have it resurrected.
> >  With the package uploaded (need to overlay on  top of the existing one 
> > - do your backup of the entire Pythoncard  directory because I did some 
> > mod to model.py and so forth), you will see a ActionEditor  button in 
> > the Property Editor window and when clicked, brings up the  original 
> > ActionEditor (cleaned up and debugged).
> >
> > In  addition to just setting the actionBinding of the widget, I went a 
> >  little further:  it actually generates a code-stub for each of those 
> > actions
> > (!!!) which helps me tremendously.  I hope this  mod is useful to othres.
> >
> > BTW: A minor tweak with this version of  layoutEditor - when you create 
> > a new project, you can select which  FrameClass to use.  The default is 
> > model.Background, of  course.
> >
> > Have fun with it:
> >
> >
> > https://sourceforge.net/tracker/?func=detail&aid=3288344&group_id=1901
> >  5&atid=369015
> >
> > --
> > John  Henry
> >
> >
> >
> >  ----------------------------------------------------------------------
> >  -------- Benefiting from Server Virtualization: Beyond Initial 
> > Workload  Consolidation -- Increasing the use of server virtualization 
> > is a top  priority.Virtualization can reduce costs, simplify 
> > management, and  improve application availability and disaster 
> > protection. Learn more  about boosting the value of server 
> > virtualization.  http://p.sf.net/sfu/vmware-sfdev2dev
> >  _______________________________________________
> > Pythoncard-users mailing  list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/pythoncard-users
> >
> >
> --------------  next part --------------
> An HTML attachment was  scrubbed...
> 
> ------------------------------
> 
> Message: 3
> Date:  Tue, 19 Apr 2011 21:00:09 -0700 (PDT)
> From: John Henry <[email protected]>
> Subject: Re:  [Pythoncard-users] Action Editor resurracted
> To: Alec Bennett <[email protected]>,     John Henry
>     <[email protected]>
> Cc: [email protected]
> Message-ID:  <[email protected]>
> Content-Type:  text/plain; charset="us-ascii"
> 
> Sorry, don't have that list but should be  obvious from the zip file.
>  --
> John Henry
> 
> 
> >
> >From:  Alec Bennett <[email protected]>
> >To: John  Henry <[email protected]>
> >Cc: [email protected]
> >Sent:  Mon, April 18, 2011 5:34:59 AM
> >Subject: Re: [Pythoncard-users] Action  Editor resurracted
> >
> >Thank you!
> >
> >Is there a list of  what files have been modified? 
> >
> >
> >
> >
> >On Sat,  Apr 16, 2011 at 7:25 PM, John Henry <[email protected]>  wrote:
> >
> >In 2004, there was a experimentalResourceEditor released  with 
> >PythonCard.  To be honest, it wasn't very good (in my humble  opinion).  
> >However, it had one feature that I like a lot - the  Action Editor.  
> >This is a dialog for selecting which action (or  methods) to activate 
> >for a particular widget.  For instance, if you  created a button, you 
> >can select mouseClick, mouseMove, and so  forth.  It was very nice 
> >because now I don't have to memorize which  widget can do what.  I just select 
>that from a  list.
> >>
> >>
> >>It appears the code was never finished  - or at least to the degree I 
> >>like to see it.  With a later  release of layoutEditor (not sure if it 
> >>was later or not but  nonetheless, layoutEditor is what I use), this 
> >>feature was dropped -  or never included in layoutEditor.
> >>
> >>
> >>Well, I  like the feature so much that I decided to have it 
> >>resurrected.  With the package uploaded (need to overlay on top  of the 
> >>existing one - do your backup of the entire Pythoncard  directory 
> >>because I did some mod to model.py and so forth), you will  see a 
> >>ActionEditor button in the Property Editor window and when  clicked, brings 
>up the original  ActionEditor (cleaned up and  debugged).
> >>
> >>
> >>In addition to just setting the  actionBinding of the widget, I went a 
> >>little
> >>further:  it actually generates a code-stub  for each of those actions 
> >>(!!!) which helps me tremendously.  I  hope this mod is useful to othres.
> >>
> >>BTW: A minor tweak  with this version of layoutEditor - when you create 
> >>a new project,  you can select which FrameClass to use.  The default is 
> >>model.Background, of   course.
> >>
> >>
> >>Have fun with  it:
> >>
> >>
> >>https://sourceforge.net/tracker/?func=detail&aid=3288344&group_id=1901
> >>5&atid=369015
> >>
>   --
> >>John   Henry
> >>----------------------------------------------------------------------
> >>--------  Benefiting from Server Virtualization: Beyond Initial 
> >>Workload  Consolidation -- Increasing the use of server virtualization 
> >>is a  top priority.Virtualization can reduce costs, simplify 
> >>management,  and improve application availability and disaster 
> >>protection. Learn  more about boosting the value of server 
> >>virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> >>_______________________________________________
> >>Pythoncard-users  mailing list
> >>[email protected]
> >>https://lists.sourceforge.net/lists/listinfo/pythoncard-users
> >>
> >>
> >
> --------------  next part --------------
> An HTML attachment was  scrubbed...
> 
> ------------------------------
> 
> ------------------------------------------------------------------------------
> Benefiting  from Server Virtualization: Beyond Initial Workload Consolidation 
>-- Increasing  the use of server virtualization is a top priority.Virtualization 
>can reduce  costs, simplify management, and improve application availability and 
>disaster  protection. Learn more about boosting the value of server 
>virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> 
> ------------------------------
> 
> _______________________________________________
> Pythoncard-users  mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
> 
> 
> End  of Pythoncard-users Digest, Vol 40, Issue  10
> ************************************************
> 
> ------------------------------------------------------------------------------
> Benefiting  from Server Virtualization: Beyond Initial Workload 
> Consolidation --  Increasing the use of server virtualization is a top
> priority.Virtualization  can reduce costs, simplify management, and improve 
> application availability  and disaster protection. Learn more about boosting 
> the value of server  virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Pythoncard-users  mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
> 

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev