Matplotlib Histograms

A histogram is an accurate representation of the distribution of numerical data. We can modify a histogram using matplotlib.pyplot.hist().

Code :