Your friend works in a publishing house. They've gathered some data on the writers' performance depending on the number of hours they work per week. The performance is measured in the number of written articles.
They've collected quite a lot of data, so there're some errors. Your friend has experimented with plotting the data and ended up with four different charts. However, they all got mixed up! Can you match code snippets to their respective plots?
Code snippet 1
plt.errorbar(x, y, yerr=0.4, capsize=4)
Code snippet 2
plt.errorbar(x, y, yerr=0.4, fmt="o")
Code snippet 3
plt.errorbar(x, y, yerr=0.4, fmt="o", capsize=4)
Code snippet 4
plt.errorbar(x, y, yerr=[0.4, 0.3, 0.5, 0.1, 0.2, 0.4], fmt="o", capsize=4)
Plot A
Plot B
Plot C
Plot D