Subplots

NOTE: EVERYTHING MUST GO IN THE SAME CELL

fig, axes. = plt.subplots(nrows=2, ncols=2)
# has the same parameter signiture as figure
axes[0][0].plot(x1,y1)
axes[0][1].plot(x2,y2)
axes[1][0].plot(x3,y3)
axes[1][1].plot(x4,y4)

for ax in axes:
	# ...code

Styling

fig.tight_layout() # makes sure that none of the figs are overlapping

fig.suptitle("title for the entire fig")

fig.subplots_adjust(wspace=0.2, hspace=0.2)