Moved plt.show to end of module.

这个提交包含在:
Craig Warren
2016-01-27 16:10:11 +00:00
父节点 e7f0b9850e
当前提交 01c0582c72

查看文件

@@ -124,8 +124,10 @@ else:
ax1.set_ylabel('Amplitude')
[ax.grid() for ax in fig.axes] # Turn on grid
plt.show()
# Save a PDF of the figure
# Save a PDF/PNG of the figure
#fig.savefig(os.path.dirname(os.path.abspath(__file__)) + os.sep + w.type + '.pdf', dpi=None, format='pdf', bbox_inches='tight', pad_inches=0.1)
#fig.savefig(os.path.dirname(os.path.abspath(__file__)) + os.sep + w.type + '.png', dpi=150, format='png', bbox_inches='tight', pad_inches=0.1)
plt.show()