Created
November 27, 2018 12:30
-
-
Save varghesejohn/5b578e61f020ff98af564f7241521aaf 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