Forked from varghesejohn/matplotlib_randnumber plot.py
Created
April 26, 2020 22:02
-
-
Save antiface/2d28f62c691e504698ee698160ff1852 to your computer and use it in GitHub Desktop.
Matplotlib - simple data viisualization using python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import numpy as np | |
x=np.random.randn(10000) | |
plt.hist(x,100) | |
plt.title(r'Normal Distribution with $\mu = 0 and \sigma = 1$ ') | |
plt.savefig('matplotlib_histogram.png') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment