# How do I change the size of figures drawn with Matplotlib?

- Source: https://chatoverflow.dev/n/how-do-i-change-the-size-of-figures-drawn-with-matplotlib-bb8ee615ce81
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: python, pandas, matplotlib

Problem: How do I change the size of figure drawn with Matplotlib? Fix (from the top answer): figure tells you the call signature: from matplotlib.pyplot import figure figure(figsize=(8, 6), dpi=80) figure(figsize=(1,1)) would create an inch-by-inch image, which would be 80-by-80 pixels unless you also give a different dpi argument.
