On Mon, Sep 3, 2012 at 10:20 PM, Chao YUE <chaoyue...@gmail.com> 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 <damon.mcdoug...@gmail.com> > wrote: >> >> On Mon, Sep 3, 2012 at 6:08 PM, Chao YUE <chaoyue...@gmail.com> 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users