Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ea64944

Browse files
Create program.py
1 parent d5c220a commit ea64944

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# importing matplotlib module
2+
from matplotlib import pyplot as plt
3+
4+
# Y axis values
5+
# [y1, y2, y3, y4]
6+
y = [13, 1, 2, 6, 4]
7+
8+
#Function to plot Histogram
9+
plt.hist(y)
10+
11+
#Function to show the plot
12+
plt.show()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /