Skip to content

Commit

Permalink
Backport PR matplotlib#27569: DOC: initial tags for statistics sectio…
Browse files Browse the repository at this point in the history
…n of gallery
  • Loading branch information
story645 authored and meeseeksmachine committed Oct 28, 2024
1 parent 981e635 commit af21823
Show file tree
Hide file tree
Showing 21 changed files with 75 additions and 0 deletions.
2 changes: 2 additions & 0 deletions galleries/examples/statistics/boxplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@

# %%
#
# .. tags:: plot-type: boxplot, domain: statistics
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
2 changes: 2 additions & 0 deletions galleries/examples/statistics/boxplot_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

# %%
#
# .. tags:: styling: color, domain: statistics, plot-type: boxplot
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
2 changes: 2 additions & 0 deletions galleries/examples/statistics/boxplot_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ def fake_bootstrapper(n):

# %%
#
# .. tags:: domain: statistics, plot-type: boxplot
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
2 changes: 2 additions & 0 deletions galleries/examples/statistics/boxplot_vs_violin.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@

# %%
#
# .. tags:: plot-type: violin, plot-type: boxplot, domain: statistics
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
2 changes: 2 additions & 0 deletions galleries/examples/statistics/bxp.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@

# %%
#
# .. tags:: plot-type: speciality, domain: statistics
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
8 changes: 8 additions & 0 deletions galleries/examples/statistics/confidence_ellipse.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@ def get_correlated_dataset(n, dependency, mu, scale):

# %%
#
# .. tags::
#
# plot-type: speciality
# plot-type: scatter
# component: ellipse
# component: patch
# domain: statistics
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
2 changes: 2 additions & 0 deletions galleries/examples/statistics/customized_violin.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ def set_axis_style(ax, labels):

# %%
#
# .. tags:: plot-type: violin, domain: statistics
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
3 changes: 3 additions & 0 deletions galleries/examples/statistics/errorbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@

# %%
#
#
# .. tags:: plot-type: errorbar, domain: statistics,
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
2 changes: 2 additions & 0 deletions galleries/examples/statistics/errorbar_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@

# %%
#
# .. tags:: plot-type: errorbar, domain: statistics
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
2 changes: 2 additions & 0 deletions galleries/examples/statistics/errorbar_limits.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@

# %%
#
# .. tags:: plot-type: errorbar, domain: statistics
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
8 changes: 8 additions & 0 deletions galleries/examples/statistics/errorbars_and_boxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ def make_error_boxes(ax, xdata, ydata, xerror, yerror, facecolor='r',

# %%
#
#
# .. tags::
#
# plot-type: errorbar
# component: rectangle
# component: patchcollection
# domain: statistics
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
2 changes: 2 additions & 0 deletions galleries/examples/statistics/hexbin_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@

# %%
#
# .. tags:: plot-type: histogram, plot-type: hexbin, domain: statistics
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
9 changes: 9 additions & 0 deletions galleries/examples/statistics/hist.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,15 @@

# %%
#
# .. tags::
#
# plot-type: histogram,
# plot-type: histogram2d
# domain: statistics
# styling: color,
# component: normalization
# component: patch
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
4 changes: 4 additions & 0 deletions galleries/examples/statistics/histogram_bihistogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@
ax.legend()

plt.show()

# %%
#
# .. tags:: plot-type: histogram, domain: statistics, purpose: showcase
2 changes: 2 additions & 0 deletions galleries/examples/statistics/histogram_cumulative.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@

# %%
#
# .. tags:: plot-type: ecdf, plot-type: histogram, domain: statistics
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
2 changes: 2 additions & 0 deletions galleries/examples/statistics/histogram_histtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@

# %%
#
# .. tags:: plot-type: histogram, domain: statistics, purpose: reference
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
2 changes: 2 additions & 0 deletions galleries/examples/statistics/histogram_multihist.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@

# %%
#
# .. tags:: plot-type: histogram, domain: statistics, purpose: reference
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
2 changes: 2 additions & 0 deletions galleries/examples/statistics/histogram_normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@

# %%
#
# .. tags:: plot-type: histogram, domain: statistics
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@

# %%
#
# .. tags::
#
# domain: statistics
# plot-type: barh
# plot-type: histogram
# styling: position
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
8 changes: 8 additions & 0 deletions galleries/examples/statistics/time_series_histogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@

# %%
#
# .. tags::
#
# plot-type: histogram2d
# plot-type: pcolormesh
# purpose: storytelling
# styling: color
# component: colormap
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down
2 changes: 2 additions & 0 deletions galleries/examples/statistics/violinplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@

# %%
#
# .. tags:: plot-type: violin, domain: statistics
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
Expand Down

0 comments on commit af21823

Please sign in to comment.