<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>The simplest "program" is two lines long -- the problems are related to matplotlib only:</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">import matplotlib.pyplot as plt</blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">plt.figure()</blockquote><div><br></div><div>I set the environment variable TM_PYTHON to /sw/bin/python</div><div>In Terminal, "which ipython" returns /sw/bin/ipython</div><div>If I execute both lines in ipython, the matplotlib window pops up, as expected.</div><div>While my two-line script is running in TextMate, </div><div>ps -Am</div><div>returns two (why two?) python processes:</div><div><div><div> 1835 ?? 0:00.83 /sw/bin/python -u /Users/claushaslauer/Desktop/present work/test/mtplTest.py</div><div> 1812 ?? 0:00.89 /sw/bin/python -u /Users/claushaslauer/Desktop/present work/test/mtplTest.py</div><div><br></div></div></div><div>sampling those two processes results in essentially identical files, only difference is the number in front of each line. I attached both files, because I can't interpret them.</div><div><br></div><div>For matplotlib:</div><div><div>In [3]: matplotlib.__version__</div><div>Out[3]: '1.0.svn'</div><div>installed via </div><div><a href="http://macinscience.org/?page_id=6">http://macinscience.org/?page_id=6</a></div><div><br></div><div><br></div><div>Does this point to any issue?</div><div>Thanks,</div><div>Claus</div><div><br></div><div><br></div><div><br></div></div><div></div></body></html>