Skip to content

Commit 52d5246

Browse files
committed
DOC: Move errorbar examples to the statistics sections
Some errorbar examples were in "Lines, bars and markers", others in "Statistics". Let's move everything to "Statistics",
1 parent 8747449 commit 52d5246

5 files changed

Lines changed: 9 additions & 3 deletions

File tree

galleries/examples/lines_bars_and_markers/gallery_order.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ span_regions
5151
stem_plot
5252

5353
# other
54-
errorbar_limits_simple
55-
errorbar_subsample
5654
categorical_variables
5755
masked_demo
58-
curve_error_band
5956
spectrum_demo

galleries/examples/lines_bars_and_markers/curve_error_band.py renamed to galleries/examples/statistics/curve_error_band.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
This example illustrates how to draw an error band around a parametrized curve.
77
88
A parametrized curve x(t), y(t) can directly be drawn using `~.Axes.plot`.
9+
10+
.. redirect-from:: /gallery/lines_bars_and_markers/curve_error_band
911
"""
1012
# sphinx_gallery_thumbnail_number = 2
1113

galleries/examples/lines_bars_and_markers/errorbar_limits_simple.py renamed to galleries/examples/statistics/errorbar_limits_simple.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
errorbars using the parameters ``uplims``, ``lolims`` of `~.pyplot.errorbar`.
88
99
Alternatively, you can use 2xN values to draw errorbars in only one direction.
10+
11+
.. redirect-from:: /gallery/lines_bars_and_markers/errorbar_limits_simple
1012
"""
1113

1214
import matplotlib.pyplot as plt

galleries/examples/lines_bars_and_markers/errorbar_subsample.py renamed to galleries/examples/statistics/errorbar_subsample.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
The parameter *errorevery* of `.Axes.errorbar` can be used to draw error bars
77
only on a subset of data points. This is particularly useful if there are many
88
data points with similar errors.
9+
10+
.. redirect-from:: /gallery/lines_bars_and_markers/errorbar_subsample
911
"""
1012

1113
import matplotlib.pyplot as plt

galleries/examples/statistics/gallery_order.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
# errorbars
44
errorbar
55
errorbar_features
6+
errorbar_subsample
7+
errorbar_limits_simple
68
errorbar_limits
79
errorbars_and_boxes
810
confidence_ellipse
11+
curve_error_band
912

1013
# histograms
1114
hist

0 commit comments

Comments
 (0)