From d3fc627077833263082abc86d525f7b44e0dc2f4 Mon Sep 17 00:00:00 2001 From: hannah Date: Wed, 6 Dec 2023 12:11:51 -0500 Subject: [PATCH] Backport PR #27434: FIX: Expand stairs plot-type entry intro (reattempt) --- galleries/plot_types/basic/stairs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/galleries/plot_types/basic/stairs.py b/galleries/plot_types/basic/stairs.py index 9bc5d025f1e1..de5761e3a7a5 100644 --- a/galleries/plot_types/basic/stairs.py +++ b/galleries/plot_types/basic/stairs.py @@ -3,7 +3,9 @@ stairs(values) ============== -See `~matplotlib.axes.Axes.stairs`. +See `~matplotlib.axes.Axes.stairs` when plotting :math:`y` between +:math:`(x_i, x_{i+1})`. For plotting :math:`y` at :math:`x`, see +`~matplotlib.axes.Axes.step`. .. redirect-from:: /plot_types/basic/step """