From 6a553da790169effc25965b7e520e10998c473f1 Mon Sep 17 00:00:00 2001 From: Sebastian Friedl <23553692+SFr682k@users.noreply.github.com> Date: Tue, 4 Aug 2026 22:06:19 +0200 Subject: [PATCH] Fix argument order in errorbar() (fixes #199) errorbar() xerr/yerr arguments were swapped in the cheat sheet, compared to the method's actual signature --- cheatsheets.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cheatsheets.tex b/cheatsheets.tex index 47ad32a..8f3a466 100644 --- a/cheatsheets.tex +++ b/cheatsheets.tex @@ -442,12 +442,12 @@ \optional{bootstrap}, \optional{widths} } {} - \plot{advanced-errorbar.pdf}{\textbf{errorbar}(X,Y,xerr,yerr, …)} + \plot{advanced-errorbar.pdf}{\textbf{errorbar}(X,Y,yerr,xerr, …)} {https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.errorbar.html} { \mandatory{X}, \mandatory{Y}, - \optional{xerr}, \optional{yerr}, + \optional{xerr}, \optional{fmt} } {} \plot{advanced-hist.pdf}{\textbf{hist}(X, bins, …)}