plt.tight_layout () memotong sumbu x

from matplotlib import rcParams
rcParams.update({'figure.autolayout': True})
CodeHunter