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