Matplotlib and seaborn 3 · Basics
Set the figure size
Create a figure with a size in inches and a resolution.
fig, ax = plt.subplots(figsize=(8, 4), dpi=120)
Official Matplotlib and seaborn 3 documentation
Matplotlib and seaborn 3 · Basics
Create a figure with a size in inches and a resolution.
fig, ax = plt.subplots(figsize=(8, 4), dpi=120)
Official Matplotlib and seaborn 3 documentation
Was this page helpful?