how to get thinner line python graph code example Example: plt.plot width line plt.plot(data,linewidth=4)