Python 未知Matplotlib错误

Python 未知Matplotlib错误,python,matplotlib,Python,Matplotlib,我遇到以下错误,无法确定应修复什么或如何修复: python-2.7.4_scipy0.13/lib/python2.7/site-packages/matplotlib/axes.py:2757: UserWarning: Attempting to set identical bottom==top results in singular transformations; automatically expanding. bottom=0, top=0.0 + 'bottom=%s, t

我遇到以下错误,无法确定应修复什么或如何修复:

python-2.7.4_scipy0.13/lib/python2.7/site-packages/matplotlib/axes.py:2757: UserWarning: Attempting to set identical bottom==top results
in singular transformations; automatically expanding.
bottom=0, top=0.0
  + 'bottom=%s, top=%s') % (bottom, top))
代码是:

plt.scatter(chart_dict[chart][0], chart_dict[chart][1], c=colours[count], alpha=1.0, label=chart, lw = 0)
plt.tight_layout()
plt.ylabel(titles_markers[2])
plt.xlabel(titles_markers[1])
plt.yscale('log')
plt.grid(b=True, which='major', color='b', linestyle='-')
plt.title(titles_markers[0])
plt.legend()
plt.savefig(os.path.join(directory, titles_markers[0].replace(' ', '_')+'.png'))

错误似乎来自于
scipy0.13
软件包,错误出现在哪一行?当您在
plt.savefig(…)
之前移动
plt.tight_layout()
时,它是否有帮助?请包含一个