How to change the matplotlib figure size with figsize and rcParams || Matplotlib Tips




[ad_1]

Use matplotlib to change the figure size with this demo. In this matplotlib tips and tricks video, I show you how to use the matplotlib pyplot figsize argument as well as how to update the size of all figures using matplotlib’s rcParams. I walk you through what the size tuple input means and discuss the width and height defaults of matplotlib.

0:00 Introduction
0:21 CODE – Change size of ONE figure
1:22 CODE – Change size of ALL figures

Github Code:
https://github.com/kimfetti/Videos/blob/master/Matplotlib_Tips/01_figure_size.ipynb

#matplotlib #dataviz #matplotlibtips

Source


[ad_2]

Comment List

  • Kimberly Fessel
    January 12, 2021

    oh thank you ! so helpful

  • Kimberly Fessel
    January 12, 2021

    Love your videos! Keep doing more!

  • Kimberly Fessel
    January 12, 2021

    ccooolll, thank you

Write a comment