|
From: Damon M. <dam...@gm...> - 2012-09-03 22:15:32
|
On Mon, Sep 3, 2012 at 10:20 PM, Chao YUE <cha...@gm...> wrote: > Thanks Damon, it's very clear now. > I explicit set the backend as "GTKAgg" in my ipython user configuration > file. and always set the backend to 'Agg' in my rc file. So that when I use > ipython, I can see the window interactively, but when I use script, it also > works :P > That's an awesome idea. Glad it's working now. > Chao > > > On Mon, Sep 3, 2012 at 8:13 PM, Damon McDougall <dam...@gm...> > wrote: >> >> On Mon, Sep 3, 2012 at 6:08 PM, Chao YUE <cha...@gm...> wrote: >> > Yet if I don't want to change the rc file, I guess I must change in the >> > modules where matplotlib has been imported for the first time? >> >> If you're changing the rc file in your home directory: >> >> ~/.matplotlib/matplotlibrc >> >> then just make a copy before you change it: >> >> cd ~/.matplotlib >> cp matplotlibrc matplotlibrc_orig >> >> then edit matplotlibrc. Just rename matplotlibrc_orig back to >> matplotlibrc when you're done. >> >> -- >> Damon McDougall >> http://www.damon.is-a-geek.com >> B2.39 >> Mathematics Institute >> University of Warwick >> Coventry >> West Midlands >> CV4 7AL >> United Kingdom > > > > > -- > *********************************************************************************** > Chao YUE > Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL) > UMR 1572 CEA-CNRS-UVSQ > Batiment 712 - Pe 119 > 91191 GIF Sur YVETTE Cedex > Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16 > ************************************************************************************ > -- Damon McDougall http://www.damon.is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom |