plt.tight_layout () Cuts X oś
from matplotlib import rcParams
rcParams.update({'figure.autolayout': True})
CodeHunter
from matplotlib import rcParams
rcParams.update({'figure.autolayout': True})