1import matplotlib.pyplot as plt
2
3plt.figure(figsize=(14,7))
4plt.bar(x,y)
5
6# if you have plotted you graph directly using dataframe like this ↓
7data.plot(kind='bar')
8
9# then use this
10plt.rcParams["figure.figsize"] = (14,7)
11
12
1from matplotlib.pyplot import figure
2figure(num=None, figsize=(8, 6), dpi=80, facecolor='w', edgecolor='k')