Re: [Matplotlib-users] Display problem on CentOS

2012-04-04 Thread Magician
otlib.pyplot as plt > plt.plot([1,2,4,3]) > plt.show() Then I got plot window from PyQt4! :) Magician On 2012/04/01, at 19:42, matplotlib-users-requ...@lists.sourceforge.net wrote: > Date: Sat, 31 Mar 2012 07:53:21 -1000 > From: Eric Firing > Subject: Re: [Matplotlib-users] Display

Re: [Matplotlib-users] Display problem on CentOS

2012-03-31 Thread Eric Firing
On 03/31/2012 04:02 AM, Magician wrote: > Alexis& Eric > > > Thanks for your advices. > I've been trying, but I still have some problems. > > I tried matplotlib.matplotlib_fname() and I found my silly mistake. > Python answered > '/usr/local/lib/python2.7/site-packages/matplotlib/mpl-data/matplot

Re: [Matplotlib-users] Display problem on CentOS

2012-03-31 Thread Magician
Alexis & Eric Thanks for your advices. I've been trying, but I still have some problems. I tried matplotlib.matplotlib_fname() and I found my silly mistake. Python answered '/usr/local/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc' My RC file was named ".matplotlibrc". When the p

Re: [Matplotlib-users] Display problem on CentOS

2012-03-27 Thread Eric Firing
On 03/26/2012 12:14 PM, Magician wrote: > Hi. > > I want to install Matplotlib from source code on CentOS. > I've been using Matplotlib for a year. > But this is the first time for me to install CentOS by myself. > > I installed CentOS 6.2 in basic install option. > Next, I installed NumPy and Matp

Re: [Matplotlib-users] Display problem on CentOS

2012-03-27 Thread Alexis Praga
You can check you are editing the correct configuration file with (in the Python shell) : >>> import matplotlib >>> matplotlib.matplotlib_fname() You can also try other backends. For a list, see : http://matplotlib.sourceforge.net/faq/usage_faq.html#what-is-a-backend On Tue, Mar 27, 2012 at 2:46

Re: [Matplotlib-users] Display problem on CentOS

2012-03-27 Thread Magician
Thank you, Alexis. I try to install PyQt4 and set Qt4Agg just now, but nothing displayed. Ummm...what's wrong...?? Magician On 2012/03/27, at 17:05, Alexis Praga wrote: > I had the same problem on Debian. > Editing the matplotlibrc (should be installed somewhere in your > systeme) and changin

Re: [Matplotlib-users] Display problem on CentOS

2012-03-27 Thread Alexis Praga
I had the same problem on Debian. Editing the matplotlibrc (should be installed somewhere in your systeme) and changing the "backend" variable to Qt4Agg did the trick. On Tue, Mar 27, 2012 at 12:14 AM, Magician wrote: > Hi. > > I want to install Matplotlib from source code on CentOS. > I've bee

[Matplotlib-users] Display problem on CentOS

2012-03-26 Thread Magician
Hi. I want to install Matplotlib from source code on CentOS. I've been using Matplotlib for a year. But this is the first time for me to install CentOS by myself. I installed CentOS 6.2 in basic install option. Next, I installed NumPy and Matplotlib. .matplotlibrc isn't set. It looks successfull