when I use the matplotlib libray in python and draw a simple plot, the margin croped parts of the figure. Please refer to the snap and code below:
import matplotlib.pyplot as plt
plt.plot(range(0,1000),range(0,1000))
plt.xlabel('Number',fontsize=18)
plt.show()