default line thickness in plt plot code example Example: matplotlib change thickness of line ax.plot(x, y1, c='b', label='y1',linewidth=7.0)