On 2011-03-22, at 11:57 , [email protected] wrote:

> I'm running into a little trouble running this program. When I try to plot 
> something I run into this error:
> 
> import matplotlib.pyplot as plt
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File 
> "/usr/local/scisoft/packages/python/lib/python2.6/site-packages/matplotlib/pyplot.py",
>  line 95, in <module>
>    new_figure_manager, draw_if_interactive, show = pylab_setup()
>  File 
> "/usr/local/scisoft/packages/python/lib/python2.6/site-packages/matplotlib/backends/__init__.py",
>  line 25, in pylab_setup
>    globals(),locals(),[backend_name])
>  File 
> "/usr/local/scisoft/packages/python/lib/python2.6/site-packages/matplotlib/backends/backend_macosx.py",
>  line 5, in <module>
>    import MacOS
> ImportError: No module named MacOS
> 
> This is when trying to run an example script from the matplotlib website: 
> http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/histogram_demo.py
> 
> My matplotlibrc file is very simple: 
> text.usetex : True
> 
> backend : MacOSX
> 
> Thanks in advance for any help,
> Sean


I'm using:
backend : GTKAgg

in my matplotlibrc on 64-bit fink.  You might try that.

Andrew
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to