There is even a simpler use case :)

Just put those three lines in a file say test.py

and try python test.py

Unless you are in ipython -pylab or threading enabled, it is required to
issue a show() to see the results on the screen.

On Thu, Sep 24, 2009 at 4:46 AM, Mark Bakker <[email protected]> wrote:

> Excellent. Many thanks.After all those years of using matplotlib, I
> finally find a use for show()
> Mark
>
> On Wed, Sep 23, 2009 at 11:02 PM, Gökhan Sever <[email protected]>wrote:
>
>>
>>
>> On Wed, Sep 23, 2009 at 3:51 PM, Mark Bakker <[email protected]> wrote:
>>
>>> Hello list,
>>> I recently started using Eclipse with Pydev. I like it a lot but have not
>>> been able to get interactive plotting going (which otherwise works fine).
>>>
>>> My file is simple:
>>>
>>> from pylab import *
>>>
>>> ion()
>>>
>>> plot([1,2,3])
>>>
>>>
>>>
>> You need to issue a show() here. Thus the plotting window will hang on the
>> screen until you close it.
>>
>>
>> Eclipse Platform
>> Version: 3.5.0
>> Build id: I20090611-1540
>>
>> PyDev for Eclipse    1.5.0.1251989166
>> org.python.pydev.feature.feature.group
>>
>>
>>>  When I run this form within Eclipse, I do see a graphing window open up
>>> but then it disappears again when it is done, before I can even look at it.
>>>
>>> Any suggestions on how to keep the graphing window open?
>>>
>>> Thanks,
>>>
>>> Mark
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
>>> is the only developer event you need to attend this year. Jumpstart your
>>> developing skills, take BlackBerry mobile applications to market and stay
>>> ahead of the curve. Join us from November 9&#45;12, 2009. Register
>>> now&#33;
>>> http://p.sf.net/sfu/devconf
>>> _______________________________________________
>>> Matplotlib-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>
>>>
>>
>>
>> --
>> Gökhan
>>
>
>


-- 
Gökhan
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to