@@ -28,22 +28,22 @@ when the input *x* has multiple datasets.
28
28
labels = ["Data 1", "Data 2", "Data 3"]
29
29
30
30
ax1.hist([data1, data2, data3], bins=range(17), histtype="step", stacked=True,
31
- edgecolor=["red", "green", "blue"], linewidth=[1, 2, 3])
31
+ edgecolor=["red", "green", "blue"], linewidth=[1, 2, 3])
32
32
ax1.set_title("Different linewidths")
33
33
ax1.legend(labels)
34
34
35
35
ax2.hist([data1, data2, data3], bins=range(17), histtype="barstacked",
36
- hatch=["/", ".", "*"])
36
+ hatch=["/", ".", "*"])
37
37
ax2.set_title("Different hatch patterns")
38
38
ax2.legend(labels)
39
39
40
40
ax3.hist([data1, data2, data3], bins=range(17), histtype="bar", fill=False,
41
- edgecolor=["red", "green", "blue"], linestyle=["--", "-.", ":"])
41
+ edgecolor=["red", "green", "blue"], linestyle=["--", "-.", ":"])
42
42
ax3.set_title("Different linestyles")
43
43
ax3.legend(labels)
44
44
45
45
ax4.hist([data1, data2, data3], bins=range(17), histtype="barstacked",
46
- facecolor=["red", "green", "blue"])
46
+ facecolor=["red", "green", "blue"])
47
47
ax4.set_title("Different facecolors")
48
48
ax4.legend(labels)
49
49
0 commit comments