Moved plt.show to end of module.

这个提交包含在:
Craig Warren
2016-01-27 16:09:43 +00:00
父节点 0d26cb56ff
当前提交 e7f0b9850e

查看文件

@@ -303,10 +303,10 @@ ax.set_ylabel('Phase [degrees]')
#ax.set_ylim([-45, 45])
ax.grid()
plt.show()
# Save a PDF/PNG of the figure
#fig1.savefig(os.path.splitext(os.path.abspath(file))[0] + '_tl_params.png', dpi=150, format='png', bbox_inches='tight', pad_inches=0.1)
#fig2.savefig(os.path.splitext(os.path.abspath(file))[0] + '_ant_params.png', dpi=150, format='png', bbox_inches='tight', pad_inches=0.1)
#fig1.savefig(os.path.splitext(os.path.abspath(file))[0] + '_tl_params.pdf', dpi=None, format='pdf', bbox_inches='tight', pad_inches=0.1)
#fig2.savefig(os.path.splitext(os.path.abspath(file))[0] + '_ant_params.pdf', dpi=None, format='pdf', bbox_inches='tight', pad_inches=0.1)
plt.show()