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