CBSE Class 12 Informatics Practices
Question 112 of 147
Plotting with Pyplot — Question 12
Back to all questionsThe hist() function in Matplotlib's Pyplot module allows creating various types of histograms. These include the default bar histogram (histtype='bar'), step histogram (histtype='step'), stepfilled histogram (histtype='stepfilled'), barstacked histogram (histtype='barstacked').