Hi,
this is weird, and I know it has worked a couple of days ago. I am puzzled and not sure what to check anymore.
I am running the MacPorts Python installation
which python
in terminal gives
/opt/local/bin/python
In Textmate, I have the following Shell Variables set:
TM_PYTHON = /opt/local/bin/python
PYTHONPATH = /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages
When I run the script shown below from terminal using
python testscript.py
the matplotlib window pops up, and all is good.
When I run the script from within TextMate using cmd-R the script runs fine unitl just before the plt.figure() line. Then in the dock the "python rocket" symbol launches, but no Matplotlib window pops open, no error message, just the bouncing python rocket.