plt.tight_layout () coupe x axe
from matplotlib import rcParams
rcParams.update({'figure.autolayout': True})
CodeHunter
from matplotlib import rcParams
rcParams.update({'figure.autolayout': True})