オプション histtype='stepfilled' と log=True の両方が使用されている場合、matplotlib でヒストグラムを表示する際に問題があります。matplotlib バージョン 1.1.0 でこの問題が発生し、バージョン 1.2.0 にもまだ存在することがわかりました。
残念ながら、画像を投稿する権利はありませんが、次の簡単なコードでこの動作を確認できます。
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
mu, sigma = 200, 25
x = mu + sigma*np.random.randn(10000)
n, bins, patches = plt.hist(x, 50, normed=1, histtype='bar',log=True)
plt.savefig("test1.png")
plt.clf()
n, bins, patches = plt.hist(x, 50, normed=1, histtype='stepfilled',log=True)
plt.savefig("test2.png")
最初の図は正しく表示されていますが、2 番目のケースでは、'bar' の代わりにオプション histtype='stepfilled' を使用しています。誰かが手がかりを持っていますか?