different types odf histyogram in matplotlib code example
Example: python matpotlib histplot
import matplotlib.pyplot as plt
plt.hist(x) #x is a array of numbers
plt.show()
import matplotlib.pyplot as plt
plt.hist(x) #x is a array of numbers
plt.show()