Personally, I don't use Wingware, so I don't know any specifics about 
using matplotlib in that environment.  You could try asking this 
question on a Wingware-related mailing list.

Mike

Sandy Ydnas wrote:
>
>  
>  Hello friends,
>  
> no body can answer on first obvious question of Matplotlib???!!!!!
>
>  
> Sandy
>  
>
> > From: matplotlib-users-requ...@lists.sourceforge.net
> > Subject: Matplotlib-users Digest, Vol 48, Issue 19
> > To: matplotlib-users@lists.sourceforge.net
> > Date: Thu, 13 May 2010 18:18:52 +0000
> >
> > Send Matplotlib-users mailing list submissions to
> > matplotlib-users@lists.sourceforge.net
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> > or, via email, send a message with subject or body 'help' to
> > matplotlib-users-requ...@lists.sourceforge.net
> >
> > You can reach the person managing the list at
> > matplotlib-users-ow...@lists.sourceforge.net
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Matplotlib-users digest..."
> >
> >
> > Today's Topics:
> >
> > 1. debugging process gets stuck with matpltlib after show()
> > (Sandy Sandy)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Thu, 13 May 2010 23:18:42 +0500
> > From: Sandy Sandy <c...@live.com>
> > Subject: [Matplotlib-users] debugging process gets stuck with
> > matpltlib after show()
> > To: <matplotlib-users@lists.sourceforge.net>
> > Message-ID: <col116-w25ccfebc9e60e3970a7475f2...@phx.gbl>
> > Content-Type: text/plain; charset="windows-1252"
> >
> >
> >
> >
> > Hi all,
> > I am new born in Python ( 1 week old)
> >
> >
> >
> > Can you pls help to understand the basic concept of
> > matpltlib interacting with Python
> >
> >
> >
> > the mutter is:
> >
> > during debugging the debug processes stacks when fig is created
> >
> > for example, in code
> >
> >
> >
> >
> >
> > import matplotlib.pyplot as plt
> >
> > from pylab import *
> >
> > x= 23;
> >
> > y = 111111;
> >
> > print(23456)
> >
> > plt.plot(range(10))
> >
> > plot([1,2,3])
> >
> > show()
> >
> > print(11111111)
> >
> > a=888
> >
> >
> >
> > it is impossible after show() to continue debug in any IDE for 
> example Wingwar
> > or pythonxy
> >
> > as stated in
> >
> > Beginning Python Visualization - Crafting Visual Transformation 
> Scripts (2009)
> >
> > page 187
> >
> >
> >
> > Note If you?re not using matplotlib interactively in Python, be sure
> >
> > to call the function show() after all
> >
> > graphs have been generated, as it enters a user interface main loop
> >
> > that will stop execution of the rest of
> >
> > your code. The reason behind this behavior is that matplotlib is
> >
> > designed to be embedded in a GUI as well.
> >
> > In Windows, if you?re working from interactive Python, you need only
> >
> > issue show() once; close the figures
> >
> > (or figures) to return to the shell. Subsequent plots will be drawn
> >
> > automatically without issuing show(), and
> >
> > you?ll be able to plot graphs interactively.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > I tried the code
> >
> >
> >
> >
> >
> > with threads
> >
> > as suggested in
> >
> > http://matplotlib.sourceforge.net/users/shell.html
> >
> >
> >
> > code
> > taken from people
> > from wingware
> >
> > http://www.wingware.com/doc/howtos/matplotlib
> >
> >
> >
> >
> >
> > from threading import Timer
> >
> > t = Timer(0, show)
> >
> > t.start()
> >
> >
> >
> > but still debugging process gets
> > stuck...
> >
> >
> > import
> > matplotlib as mpl
> >
> > from
> > pylab import plot,show,close,ion
> >
> > x
> > = range(10)
> >
> > plot(x)
> >
> > 'show()'
> >
> > from
> > threading import Timer
> >
> > t
> > = Timer(0, show)
> >
> > t.start()
> >
> > 'ion()
> > the same result with or not'
> >
> > a
> > = 1222233
> >
> > y
> > = [2, 8, 3, 9, 4]
> >
> > plot(y)
> >
> >
> >
> > zz=
> > 12346
> >
> > print(44444)
> >
> >
> >
> > Best Regards
> >
> > Sandy
> >
> >
> > _________________________________________________________________
> > Hotmail: Trusted email with Microsoft?s powerful SPAM protection.
> > https://signup.live.com/signup.aspx?id=60969
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> >
> > ------------------------------
> >
> > 
> ------------------------------------------------------------------------------
> >
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > Matplotlib-users mailing list
> > Matplotlib-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
> >
> > End of Matplotlib-users Digest, Vol 48, Issue 19
> > ************************************************
>
> ------------------------------------------------------------------------
> Hotmail: Powerful Free email with security by Microsoft. Get it now. 
> <https://signup.live.com/signup.aspx?id=60969>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


------------------------------------------------------------------------------

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

Reply via email to