Skip to content

Commit a15637e

Browse files
authored
Added histogram plotting demo using matplotlib package
1 parent fc596fa commit a15637e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

plotting_histogram.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import matplotlib.pyplot as plt
2+
import numpy as np
3+
4+
# Create sample data
5+
x = np.random.normal(170, 10, 250)
6+
7+
# Create histogram
8+
plt.hist(x)
9+
10+
# Display plot
11+
plt.show()

0 commit comments

Comments
 (0)