The MacOSX backend itself does not use X11. So I would suggest to check which modules get loaded when you import pyplot, and see which one of those causes X11 to open. -Michiel
------------------------------ On Fri, Jul 19, 2013 4:14 PM EDT Tommy Grav wrote: >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? > > >------------------------------------------------------------------------------ >See everything from the browser to the database with AppDynamics >Get end-to-end visibility with application monitoring from AppDynamics >Isolate bottlenecks and diagnose root cause in seconds. >Start your free trial of AppDynamics Pro today! >http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >_______________________________________________ >Matplotlib-users mailing list >Matplotlib-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users