matplotlib cheat sheet


To manually set the size of a matplotlib plot, do:

# 8" x 4.5"
plot.rcParams["figure.figsize"] = 8, 4.5