Can someone explain this pyplot

plt.rcParams.update({‘font.size’: 50})
fig, ax = plt.subplots(12, 1,figsize=(100,500))

The first line changes the font size. The second changes the height between adjacent plots. The third defines a grid with 12 rows of plots and 1 column, and sets the overall size to 100x500 inches. You can see those 12 empty plots by adding this line at the end.

Details about the pyplot API can be found in the docs, along with a tutorial, and lots of examples.