次のコードでは、理由がわからないエラーが発生します。
import numpy as np
import matplotlib.pyplot as plt
a = np.arange(10)
plt.plot(a)
[<matplotlib.lines.Line2D at 0x116be8890>]
plt.show()
2013-01-29 10:58:18.891 Python[27257:903] *** __NSAutoreleaseNoPool(): Object 0x105b27810 of class NSCFArray autoreleased with no pool in place - just leaking
2013-01-29 10:58:18.893 Python[27257:903] *** __NSAutoreleaseNoPool(): Object 0x105b37f60 of class __NSFastEnumerationEnumerator autoreleased with no pool in place - just leaking
2013-01-29 10:58:18.895 Python[27257:903] *** __NSAutoreleaseNoPool(): Object 0x105bee900 of class NSObject autoreleased with no pool in place - just leaking
私はmatplotlib 1.2.0、numpy 1.6.2、python 2.7.3、ipython 0.13.1を持っています。パッケージは macports でインストールされています。これは Mac OS 10.6.8 で実行されていますが、10.7.5 では表示されません。