How to show matplotlib plots in python,plt.savefig('temp.png')