I would like to be able to change the size of a chart in matplotlib. I have so far only been able to change the size of the window, but not the chart. I haven't been able to locate anything about this in documentation.
My Code so far:
import matplotlib.pyplot as plt
plt.rcParams['figure.figsize'] = 5,2