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 PM, Magician <f_magic...@mac.com> wrote:
> 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 changing the "backend" variable to Qt4Agg did the trick.
>>
>>
>>
>> On Tue, Mar 27, 2012 at 12:14 AM, Magician <f_magic...@mac.com> 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 Matplotlib.
>>> .matplotlibrc isn't set.
>>>
>>> It looks successfully installed, but when I type show() command,
>>> nothing appears.
>>> I can export PNG image by using savefig() command, so maybe
>>> I'm using invalid backend.
>>>
>>> How can I display plots with show() command?
>>>
>>>
>>> Magician
>

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to