Making grouped histograms bigger in Python

prm*_*lmu 0 python numpy histogram pandas

I am drawing some grouped histograms in python as per this question, but am trying to plot more histograms and make them bigger.

To give an example:

from pandas import DataFrame
import numpy as np
x = ['A']*300 + ['B']*400 + ['C']*300 + ['D']*400 + ['E']*200 + ['F']*500 + 
['G']*400 + ['H']*500 + ['I']*300
y = np.random.randn(3300)
df = DataFrame({'Letter':x, 'N':y})
grouped = df.groupby('Letter')
Run Code Online (Sandbox Code Playgroud)

I then plot like this in Jupyter:

%matplotlib inline
df['N'].hist(by=df['Letter'])
Run Code Online (Sandbox Code Playgroud)

but the plots come out really small. How do I increase the size so they fill the page?

prm*_*lmu 5

没那么难:

df['N'].hist(by=df['Letter'], figsize = (16,18))
Run Code Online (Sandbox Code Playgroud)