Articles → Matplotlib → Hist Function In MatplotlibHist Function In MatplotlibIn this article, we will discuss about hist function in matplotlibPurpose Hist function is used to plot a histogram.Example import matplotlib.pyplot as plt fig, axs = plt.subplots(1,2) axs[0].hist(1000) axs[1].hist(2000) plt.show()Output Click to EnlargePosted By - Karan Gupta Posted On - Tuesday, June 25, 2019 Query/Feedback Your Email Id Subject Query/Feedback Characters remaining 250
import matplotlib.pyplot as plt fig, axs = plt.subplots(1,2) axs[0].hist(1000) axs[1].hist(2000) plt.show()
Query/Feedback