I can check it on my end too. To fix, here's what I did
sudo port install py25-matplotlib +cairo+gtk2 sudo port install py26-matplotlib +cairo+gtk2
In addition, we need to change the default base component to one of the graphical interfaces.
Edit the file ~/.matplotlib/matplotlibrc and add:
backend: GTKCairo
In addition, you can try the following, which may allow you not to use GTK or Cairo. Change ~/.matplotlib/matplotlibrc and add:
backend: MacOSX
If a port with these options is installed, this also works, but it does not require X11.
By the way, the error I saw was as follows:
/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/backends/__init__.py:41: UserWarning: Your currently selected backend, 'Agg' does not support show(). Please select a GUI backend in your matplotlibrc file ('/Users/wlynch/.matplotlib/matplotlibrc') or with matplotlib.use() (backend, matplotlib.matplotlib_fname()))
Bill Lynch Mar 25 '10 at 0:12 2010-03-25 00:12
source share