Articles → Matplotlib → Hist Function In Matplotlib

Hist Function In Matplotlib






Purpose





Example


import matplotlib.pyplot as plt

fig, axs = plt.subplots(1,2)

axs[0].hist(1000)
axs[1].hist(2000)

plt.show()



Output


Picture showing the output of hist function in matplotlib



Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, June 25, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250