Skip to content

Commit b7fcf69

Browse files
story645ktnharris22
andcommitted
initial tags for statistics section of gallery
Co-authored-by: katie <katie@unrefugees.org>
1 parent e5a85f9 commit b7fcf69

22 files changed

+95
-0
lines changed

galleries/examples/statistics/barchart_demo.py

+2
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ def plot_student_results(student, scores_by_test, cohort_size):
101101

102102
# %%
103103
#
104+
# ..tags:: purpose:storytelling, domain: statistics, plot-type: bar
105+
#
104106
# .. admonition:: References
105107
#
106108
# The use of the following functions, methods, classes and modules is shown

galleries/examples/statistics/boxplot.py

+6
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,15 @@
9797

9898
# %%
9999
#
100+
# .. tags:: plot-type: boxplot, domain: statistics
101+
#
100102
# .. admonition:: References
101103
#
102104
# The use of the following functions, methods, classes and modules is shown
103105
# in this example:
104106
#
105107
# - `matplotlib.axes.Axes.boxplot` / `matplotlib.pyplot.boxplot`
108+
#
109+
# .. ifconfig:: releaselevel == 'dev'
110+
#
111+
# .. tags:: internal: too-much

galleries/examples/statistics/boxplot_color.py

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454

5555
# %%
5656
#
57+
# .. tags:: styling: color, domain: statistics, plot-type: boxplot
58+
#
5759
# .. admonition:: References
5860
#
5961
# The use of the following functions, methods, classes and modules is shown

galleries/examples/statistics/boxplot_demo.py

+6
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,16 @@ def fake_bootstrapper(n):
247247

248248
# %%
249249
#
250+
# .. tags:: domain: statistics, plot-type: boxplot
251+
#
250252
# .. admonition:: References
251253
#
252254
# The use of the following functions, methods, classes and modules is shown
253255
# in this example:
254256
#
255257
# - `matplotlib.axes.Axes.boxplot` / `matplotlib.pyplot.boxplot`
256258
# - `matplotlib.artist.Artist.set` / `matplotlib.pyplot.setp`
259+
#
260+
# .. ifconfig:: releaselevel == 'dev'
261+
#
262+
# .. tags:: internal: too-much

galleries/examples/statistics/boxplot_vs_violin.py

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454

5555
# %%
5656
#
57+
# .. tags:: plot-type: violin, plot-type: boxplot, domain: statistics
58+
#
5759
# .. admonition:: References
5860
#
5961
# The use of the following functions, methods, classes and modules is shown

galleries/examples/statistics/bxp.py

+6
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,16 @@
106106

107107
# %%
108108
#
109+
# .. tags:: plot-type: speciality, domain: statistics
110+
#
109111
# .. admonition:: References
110112
#
111113
# The use of the following functions, methods, classes and modules is shown
112114
# in this example:
113115
#
114116
# - `matplotlib.axes.Axes.bxp`
115117
# - `matplotlib.cbook.boxplot_stats`
118+
#
119+
# .. ifconfig:: releaselevel == 'dev'
120+
#
121+
# .. tags:: internal: too-much

galleries/examples/statistics/confidence_ellipse.py

+9
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,19 @@ def get_correlated_dataset(n, dependency, mu, scale):
217217

218218
# %%
219219
#
220+
# .. tags::
221+
#
222+
# plot-type: speciality, plot-type:scatter, component: ellipse, component: patch,
223+
# domain: statistics,
224+
#
220225
# .. admonition:: References
221226
#
222227
# The use of the following functions, methods, classes and modules is shown
223228
# in this example:
224229
#
225230
# - `matplotlib.transforms.Affine2D`
226231
# - `matplotlib.patches.Ellipse`
232+
#
233+
# .. ifconfig:: releaselevel == 'dev'
234+
#
235+
# .. tags:: internal: too-much

galleries/examples/statistics/customized_violin.py

+6
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,16 @@ def set_axis_style(ax, labels):
7373

7474
# %%
7575
#
76+
# .. tags:: plot-type: violin, domain:statistics
77+
#
7678
# .. admonition:: References
7779
#
7880
# The use of the following functions, methods, classes and modules is shown
7981
# in this example:
8082
#
8183
# - `matplotlib.axes.Axes.violinplot` / `matplotlib.pyplot.violinplot`
8284
# - `matplotlib.axes.Axes.vlines` / `matplotlib.pyplot.vlines`
85+
#
86+
# .. ifconfig:: releaselevel == 'dev'
87+
#
88+
# .. tags:: internal: too-much

galleries/examples/statistics/errorbar.py

+7
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,16 @@
2121

2222
# %%
2323
#
24+
#
25+
# .. tags:: plot-type: errorbar, domain: statistics,
26+
#
2427
# .. admonition:: References
2528
#
2629
# The use of the following functions, methods, classes and modules is shown
2730
# in this example:
2831
#
2932
# - `matplotlib.axes.Axes.errorbar` / `matplotlib.pyplot.errorbar`
33+
#
34+
# .. ifconfig:: releaselevel == 'dev'
35+
#
36+
# .. tags:: internal: needs-review

galleries/examples/statistics/errorbar_features.py

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848

4949
# %%
5050
#
51+
# .. tags:: plot-type: errorbar, domain: statistics
52+
#
5153
# .. admonition:: References
5254
#
5355
# The use of the following functions, methods, classes and modules is shown

galleries/examples/statistics/errorbar_limits.py

+2
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@
7777

7878
# %%
7979
#
80+
# .. tags:: plot-type: errorbar, domain: statistics
81+
#
8082
# .. admonition:: References
8183
#
8284
# The use of the following functions, methods, classes and modules is shown

galleries/examples/statistics/errorbars_and_boxes.py

+6
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ def make_error_boxes(ax, xdata, ydata, xerror, yerror, facecolor='r',
7171

7272
# %%
7373
#
74+
#
75+
# .. tags::
76+
#
77+
# plot-type: errorbar, component:rectangle, component: patchcollection,
78+
# domain: statistics
79+
#
7480
# .. admonition:: References
7581
#
7682
# The use of the following functions, methods, classes and modules is shown

galleries/examples/statistics/hexbin_demo.py

+8
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,17 @@
3535

3636
# %%
3737
#
38+
# .. tags::
39+
#
40+
# plot-type: histogram, plot-type:hexbin, domain:statistics
41+
#
3842
# .. admonition:: References
3943
#
4044
# The use of the following functions, methods, classes and modules is shown
4145
# in this example:
4246
#
4347
# - `matplotlib.axes.Axes.hexbin` / `matplotlib.pyplot.hexbin`
48+
#
49+
# .. ifconfig:: releaselevel == 'dev'
50+
#
51+
# .. tags:: internal: needs-review

galleries/examples/statistics/hist.py

+5
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@
103103

104104
# %%
105105
#
106+
# .. tags::
107+
#
108+
# plot-type:histogram, plot-type:histogram2d, domain:statistics, styling:color,
109+
# component: normalization, component: patch
110+
#
106111
# .. admonition:: References
107112
#
108113
# The use of the following functions, methods, classes and modules is shown

galleries/examples/statistics/histogram_bihistogram.py

+4
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,7 @@
4343
ax.legend()
4444

4545
plt.show()
46+
47+
# %%
48+
#
49+
# .. tags:: plot-type: histogram, domain:statistics, purpose: showcase

galleries/examples/statistics/histogram_cumulative.py

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@
6767

6868
# %%
6969
#
70+
# ..tags:: plot-type: ecdf, plot-type: histogram, domain:statistics
71+
#
7072
# .. admonition:: References
7173
#
7274
# The use of the following functions, methods, classes and modules is shown

galleries/examples/statistics/histogram_histtypes.py

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151

5252
# %%
5353
#
54+
# .. tags:: plot-type: histogram, domain: statistics, purpose: reference
55+
#
5456
# .. admonition:: References
5557
#
5658
# The use of the following functions, methods, classes and modules is shown

galleries/examples/statistics/histogram_multihist.py

+7
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,16 @@
4747

4848
# %%
4949
#
50+
# .. tags::
51+
# plot-type: histogram, domain: statistics, purpose: reference
52+
#
5053
# .. admonition:: References
5154
#
5255
# The use of the following functions, methods, classes and modules is shown
5356
# in this example:
5457
#
5558
# - `matplotlib.axes.Axes.hist` / `matplotlib.pyplot.hist`
59+
#
60+
# .. ifconfig:: releaselevel == 'dev'
61+
#
62+
# .. tags:: internal: needs-review

galleries/examples/statistics/histogram_normalization.py

+2
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,8 @@
243243

244244
# %%
245245
#
246+
# .. tags:: plot-type: histogram, domain: statistics
247+
#
246248
# .. admonition:: References
247249
#
248250
# The use of the following functions, methods, classes and modules is shown

galleries/examples/statistics/multiple_histograms_side_by_side.py

+2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363

6464
# %%
6565
#
66+
# ..tags:: domain: statistics, plot-type: barh, plot-type: histogram, styling: position
67+
#
6668
# .. admonition:: References
6769
#
6870
# The use of the following functions, methods, classes and modules is shown

galleries/examples/statistics/time_series_histogram.py

+5
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@
9494

9595
# %%
9696
#
97+
# .. tags::
98+
#
99+
# plot-type: histogram2d, plot-type: pcolormesh, purpose:storytelling,
100+
# styling: color, component: colormap
101+
#
97102
# .. admonition:: References
98103
#
99104
# The use of the following functions, methods, classes and modules is shown

galleries/examples/statistics/violinplot.py

+2
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@
8888

8989
# %%
9090
#
91+
# ..tags:: plot-type: violin, domain:statistics
92+
#
9193
# .. admonition:: References
9294
#
9395
# The use of the following functions, methods, classes and modules is shown

0 commit comments

Comments
 (0)