Newbie Question...

I ran the following script on IDLE and the Boa-constructor. I had a problem
on both of these when I
didn't include:


Thanks for the info on matplotlibrc.


----- Original Message -----
From: "John Hunter" <jdhunter@...4...>
To: "Ryugan Mizuta" <ryuganmizuta@...209...>
Cc: <>; "Barry Drake"
Sent: Wednesday, June 16, 2004 6:56 AM
Subject: Re: [Matplotlib-users] Re:Newbie Question...

    > Thanks for all who gave me a reply.... Somehow the
    > following script worked...:

    import matplotlib

    from matplotlib.matlab import *

I just want to point out that in my opinion, the easiest way to set
the default backend is to use your matplotlibrc file - For windows,
this is found at C:\Python23\share\matplotlib\.matplotlibrc.

You can achieve the same effect by setting

    backend : WX # the default backend
    interactive : False # see

which will not be so invasive to your script (ie, you can change the
default behavior of your scripts w/o changing the scripts
themselves). Using

    import matplotlib

should be something you reserve to depart from the desired default

Glad it's working for you! I have two more questions I am curious
about, for both you and Barry

  * Does WXAgg also work?

  * In which IDEs do you find this combination works?

Following your question yesterday I added the FAQ entry, and I'd like to
update it to make it as complete as possible.