plotting histogram or scatter plot with matplotlib,plt.show()