I was going to offer reading documents , but this does not provide any additional explanation, although I still advise you to take a look.
n: number of samples in each histogram binbins: left edge of each hopperpatches are individual patches used to create a histogram, such as a collection of rectangles
Patches can be used to change the properties of individual bars, as in these examples . Here is a simple example of its use
import numpy as np
import matplotlib.pyplot as plt
x = np.random.normal(size=100)
n, bins, patches = plt.hist(x)
plt.setp(patches[0], 'facecolor', 'g')
plt.show()

n bins ,