How to change plot size in Jupyter Notebook

I keep forgetting that and I must google it every time I want to change the size of charts in Jupyter Notebook (which really is, every time).

So this is how you do it:

import matplotlib.pyplot as plt

plt.rcParams["figure.figsize"] = (20,10)

Hopefully, now I am going to remember or just open my own blog post instead of googling it ;)

Older post

Looking for structure in data — Andrews curves plot explained

How to read Andrews curves chart

Newer post

Apriori algorithm explained

Using association rule learning to make recommendations