Matplotlib backend issue

I just installed matplotlib on a new MacBook Pro

ActivePython 2.7.2.5 (ActiveState Software Inc.) based on
Python 2.7.2 (default, Jun 24 2011, 12:20:15)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import numpy
numpy.__version__

'1.7.1'

import matplotlib
matplotlib.__version__

'1.2.1'

matplotlib.matplotlib_fname()

'/Users/tgrav/.matplotlib/matplotlibrc'

That works fine. However, when I try to do

import matplotlib.pyplot as plt

it tries to open X11, which I have not installed and would like to
try to avoid. The matplotlibrc file has

backend : MacOSX

Anyone know why it is still trying to open X11 and how I can avoid that?

What does “print matplotlib.get_backend()” say?

'MacOSX'

···

On Jul 19, 2013, at 4:49 PM, Benjamin Root <ben.root@...1304...> wrote:

What does "print matplotlib.get_backend()" say?