Matplotlib: linewidth is added to the length of a line,plt.savefig('cap.png')