---
title: "How to change plot size in Jupyter Notebook"
description: "Pyplot parameter that configures the chart size"
author: "Bartosz Mikulski"
author_bio: "Principal AI Engineer & MLOps Architect. I bridge the gap between \"it works in a notebook\" and \"it works for 200 million users.\""
author_url: https://mikulskibartosz.name
author_linkedin: https://www.linkedin.com/in/mikulskibartosz/
author_github: https://github.com/mikulskibartosz
canonical_url: https://mikulskibartosz.name/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 ;)