x = [0, 1.3, 2, 0.7, 0] y = [0.5, 0, 0.5, 1, 0.5] plt.fill(x, y, fill=False, hatch='//', linewidth=2.0, edgecolor='red')