Newbie Question...

Ryugan, Thanks. That fixed my problem as well: the graph

    > window disappearing after the call to show().

Hi Barry,

    import matplotlib
    matplotlib.interactive(False)
    matplotlib.use("WX")

    from matplotlib.matlab import *
    plot([1,2,3,4])
    show()

Which line is responsible for the fix? And are you using WX or WXAgg?

JDH

John,
I ran the tests mentioned in a previous msg with both
WX and WXAgg.

Should also mention that the test with Idle doesn't
completely fail. That is the graph window is
displayed and the program "appears" to terminate
normally. It looks like some memory is being left
hanging and Idle, the OS, or matplotlib is trying to
write there on subsequent runs of the program (?).

Barry

--- John Hunter wrote:
> >>>>> "Barry" == Barry Drake
> writes:
>
> Barry> Ryugan, Thanks. That fixed my
problem as
> well: the graph
> Barry> window disappearing after the call
to
> show().
>
> Hi Barry,
>
> import matplotlib
> matplotlib.interactive(False)
> matplotlib.use("WX")
>
> from matplotlib.matlab import *
> plot([1,2,3,4])
> show()
>
> Which line is responsible for the fix? And are
you
> using WX or WXAgg?
>
> JDH
>
>
>

···

-------------------------------------------------------
> This SF.Net email is sponsored by The 2004
> JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's
> Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone
Center
> in San Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf
> Priority Code NWMGYKND
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/matplotlib-users