Skip to content

Commit

Permalink
removed yerr in 1d_side_by_side.py
Browse files Browse the repository at this point in the history
  • Loading branch information
0ctagon committed Oct 17, 2024
1 parent 7660f14 commit a2af220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/1d_hist/1d_side_by_side.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
fig, ax = plt.subplots()

# Use a specificity of matplotlib: when a list of histograms is given, it will plot them side by side unless stacked=True or histtype is a "step" type.
plot_hist(histos, ax=ax, histtype="side", label=labels, yerr=True)
plot_hist(histos, ax=ax, histtype="side", label=labels)

# Set the x-ticks to the middle of the bins and label them
ax.set_xlim(0, len(categories))
Expand Down

0 comments on commit a2af220

Please sign in to comment.