change width of line plot python code example Example: plt.plot width line plt.plot(data,linewidth=4)