hist(bins=20,ax=ax,facecolor='midnightblue') 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()