From 6a769552e6f64b3222da949536b91d8770479010 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Sat, 2 Nov 2024 15:04:41 -0700 Subject: [PATCH 1/2] DOC: just new labels --- galleries/examples/images_contours_and_fields/contour_demo.py | 2 ++ .../examples/images_contours_and_fields/contourf_demo.py | 1 + galleries/examples/images_contours_and_fields/contourf_log.py | 2 ++ .../examples/images_contours_and_fields/image_antialiasing.py | 4 ++++ galleries/examples/images_contours_and_fields/image_demo.py | 2 ++ galleries/examples/images_contours_and_fields/pcolor_demo.py | 2 ++ .../examples/images_contours_and_fields/pcolormesh_grids.py | 2 ++ .../examples/images_contours_and_fields/plot_streamplot.py | 2 ++ .../examples/images_contours_and_fields/tricontour_demo.py | 2 ++ .../images_contours_and_fields/tricontour_smooth_delaunay.py | 2 ++ .../images_contours_and_fields/tricontour_smooth_user.py | 2 ++ .../examples/images_contours_and_fields/tripcolor_demo.py | 2 ++ galleries/examples/images_contours_and_fields/triplot_demo.py | 2 ++ .../examples/lines_bars_and_markers/categorical_variables.py | 2 ++ galleries/examples/lines_bars_and_markers/eventplot_demo.py | 2 ++ .../examples/lines_bars_and_markers/fill_between_demo.py | 2 ++ galleries/examples/lines_bars_and_markers/step_demo.py | 2 ++ galleries/examples/mplot3d/bars3d.py | 2 ++ galleries/examples/mplot3d/box3d.py | 2 ++ galleries/examples/mplot3d/custom_shaded_3d_surface.py | 2 ++ galleries/examples/mplot3d/intersecting_planes.py | 2 ++ galleries/examples/mplot3d/quiver3d.py | 2 ++ galleries/examples/mplot3d/stem3d_demo.py | 2 ++ galleries/examples/mplot3d/surface3d.py | 2 ++ galleries/examples/mplot3d/surface3d_2.py | 2 ++ galleries/examples/mplot3d/surface3d_3.py | 2 ++ galleries/examples/mplot3d/trisurf3d.py | 2 ++ galleries/examples/mplot3d/trisurf3d_2.py | 2 ++ galleries/examples/statistics/boxplot.py | 2 ++ galleries/examples/statistics/boxplot_color.py | 2 ++ galleries/examples/statistics/boxplot_demo.py | 2 ++ galleries/examples/statistics/boxplot_vs_violin.py | 2 ++ galleries/examples/statistics/customized_violin.py | 2 ++ galleries/examples/statistics/hexbin_demo.py | 2 ++ galleries/examples/statistics/histogram_histtypes.py | 2 ++ galleries/examples/statistics/histogram_multihist.py | 2 ++ galleries/examples/statistics/histogram_normalization.py | 1 + galleries/examples/statistics/violinplot.py | 2 ++ galleries/plot_types/3D/bar3d_simple.py | 2 ++ galleries/plot_types/3D/surface3d_simple.py | 2 ++ galleries/plot_types/3D/trisurf3d_simple.py | 2 ++ galleries/plot_types/arrays/pcolormesh.py | 3 +++ galleries/users_explain/artists/index.rst | 2 ++ galleries/users_explain/axes/index.rst | 2 ++ 44 files changed, 89 insertions(+) diff --git a/galleries/examples/images_contours_and_fields/contour_demo.py b/galleries/examples/images_contours_and_fields/contour_demo.py index 05fd3d5e3be8..02db17d9cdd4 100644 --- a/galleries/examples/images_contours_and_fields/contour_demo.py +++ b/galleries/examples/images_contours_and_fields/contour_demo.py @@ -1,4 +1,6 @@ """ +.. _contour_demo: + ============ Contour Demo ============ diff --git a/galleries/examples/images_contours_and_fields/contourf_demo.py b/galleries/examples/images_contours_and_fields/contourf_demo.py index 18c13d922e38..a0068718ad41 100644 --- a/galleries/examples/images_contours_and_fields/contourf_demo.py +++ b/galleries/examples/images_contours_and_fields/contourf_demo.py @@ -1,4 +1,5 @@ """ +.. _contourf_demo: ============= Contourf demo ============= diff --git a/galleries/examples/images_contours_and_fields/contourf_log.py b/galleries/examples/images_contours_and_fields/contourf_log.py index 408976adb9c2..841ea5ae60f2 100644 --- a/galleries/examples/images_contours_and_fields/contourf_log.py +++ b/galleries/examples/images_contours_and_fields/contourf_log.py @@ -1,4 +1,6 @@ """ +.. _contourf_log: + ============================ Contourf and log color scale ============================ diff --git a/galleries/examples/images_contours_and_fields/image_antialiasing.py b/galleries/examples/images_contours_and_fields/image_antialiasing.py index 10f563875767..05fafb065756 100644 --- a/galleries/examples/images_contours_and_fields/image_antialiasing.py +++ b/galleries/examples/images_contours_and_fields/image_antialiasing.py @@ -1,4 +1,8 @@ """ +.. _image_antialiasing: + +.. _image_resampling: + ================ Image resampling ================ diff --git a/galleries/examples/images_contours_and_fields/image_demo.py b/galleries/examples/images_contours_and_fields/image_demo.py index 768eedb20778..d7876e7c029f 100644 --- a/galleries/examples/images_contours_and_fields/image_demo.py +++ b/galleries/examples/images_contours_and_fields/image_demo.py @@ -1,4 +1,6 @@ """ +.. _image_demo: + ======================== Many ways to plot images ======================== diff --git a/galleries/examples/images_contours_and_fields/pcolor_demo.py b/galleries/examples/images_contours_and_fields/pcolor_demo.py index 7a8ef35caf96..1300dfee7ec7 100644 --- a/galleries/examples/images_contours_and_fields/pcolor_demo.py +++ b/galleries/examples/images_contours_and_fields/pcolor_demo.py @@ -1,4 +1,6 @@ """ +.. _pcolor_demo: + ============= pcolor images ============= diff --git a/galleries/examples/images_contours_and_fields/pcolormesh_grids.py b/galleries/examples/images_contours_and_fields/pcolormesh_grids.py index 212b807dbf90..91cc60720e71 100644 --- a/galleries/examples/images_contours_and_fields/pcolormesh_grids.py +++ b/galleries/examples/images_contours_and_fields/pcolormesh_grids.py @@ -1,4 +1,6 @@ """ +.. _pcolormesh_grids: + ============================ pcolormesh grids and shading ============================ diff --git a/galleries/examples/images_contours_and_fields/plot_streamplot.py b/galleries/examples/images_contours_and_fields/plot_streamplot.py index 0128b6369b4a..f9eaff7bd80e 100644 --- a/galleries/examples/images_contours_and_fields/plot_streamplot.py +++ b/galleries/examples/images_contours_and_fields/plot_streamplot.py @@ -1,4 +1,6 @@ """ +.. _plot_streamplot: + ========== Streamplot ========== diff --git a/galleries/examples/images_contours_and_fields/tricontour_demo.py b/galleries/examples/images_contours_and_fields/tricontour_demo.py index 3459382caad6..2cf36ba50618 100644 --- a/galleries/examples/images_contours_and_fields/tricontour_demo.py +++ b/galleries/examples/images_contours_and_fields/tricontour_demo.py @@ -1,4 +1,6 @@ """ +.. _tricontour_demo: + =============== Tricontour Demo =============== diff --git a/galleries/examples/images_contours_and_fields/tricontour_smooth_delaunay.py b/galleries/examples/images_contours_and_fields/tricontour_smooth_delaunay.py index 0f1ee4938f8d..6ad8b452ac27 100644 --- a/galleries/examples/images_contours_and_fields/tricontour_smooth_delaunay.py +++ b/galleries/examples/images_contours_and_fields/tricontour_smooth_delaunay.py @@ -1,4 +1,6 @@ """ +.. _tricontour_smooth_delaunay: + ========================== Tricontour Smooth Delaunay ========================== diff --git a/galleries/examples/images_contours_and_fields/tricontour_smooth_user.py b/galleries/examples/images_contours_and_fields/tricontour_smooth_user.py index 2d973c0de108..d58b7172d7ee 100644 --- a/galleries/examples/images_contours_and_fields/tricontour_smooth_user.py +++ b/galleries/examples/images_contours_and_fields/tricontour_smooth_user.py @@ -1,4 +1,6 @@ """ +.. _tricontour_smooth_user: + ====================== Tricontour Smooth User ====================== diff --git a/galleries/examples/images_contours_and_fields/tripcolor_demo.py b/galleries/examples/images_contours_and_fields/tripcolor_demo.py index a1c011a1224c..0672d086d943 100644 --- a/galleries/examples/images_contours_and_fields/tripcolor_demo.py +++ b/galleries/examples/images_contours_and_fields/tripcolor_demo.py @@ -1,4 +1,6 @@ """ +.. _tripcolor_demo: + ============== Tripcolor Demo ============== diff --git a/galleries/examples/images_contours_and_fields/triplot_demo.py b/galleries/examples/images_contours_and_fields/triplot_demo.py index e1151b37ac4a..9db21628fcce 100644 --- a/galleries/examples/images_contours_and_fields/triplot_demo.py +++ b/galleries/examples/images_contours_and_fields/triplot_demo.py @@ -1,4 +1,6 @@ """ +.. _triplot_demo: + ============ Triplot Demo ============ diff --git a/galleries/examples/lines_bars_and_markers/categorical_variables.py b/galleries/examples/lines_bars_and_markers/categorical_variables.py index a19a30eda2b2..2435417fe608 100644 --- a/galleries/examples/lines_bars_and_markers/categorical_variables.py +++ b/galleries/examples/lines_bars_and_markers/categorical_variables.py @@ -1,4 +1,6 @@ """ +.. _categorical_variables: + ============================== Plotting categorical variables ============================== diff --git a/galleries/examples/lines_bars_and_markers/eventplot_demo.py b/galleries/examples/lines_bars_and_markers/eventplot_demo.py index 17797c2f697a..eba72f17d29e 100644 --- a/galleries/examples/lines_bars_and_markers/eventplot_demo.py +++ b/galleries/examples/lines_bars_and_markers/eventplot_demo.py @@ -1,4 +1,6 @@ """ +.. _eventplot_demo: + ============== Eventplot demo ============== diff --git a/galleries/examples/lines_bars_and_markers/fill_between_demo.py b/galleries/examples/lines_bars_and_markers/fill_between_demo.py index feb325a3f9db..108e0fa20d21 100644 --- a/galleries/examples/lines_bars_and_markers/fill_between_demo.py +++ b/galleries/examples/lines_bars_and_markers/fill_between_demo.py @@ -1,4 +1,6 @@ """ +.. _fill_between_demo: + =============================== Fill the area between two lines =============================== diff --git a/galleries/examples/lines_bars_and_markers/step_demo.py b/galleries/examples/lines_bars_and_markers/step_demo.py index f74a069e52f3..2aba2cb6d37b 100644 --- a/galleries/examples/lines_bars_and_markers/step_demo.py +++ b/galleries/examples/lines_bars_and_markers/step_demo.py @@ -1,4 +1,6 @@ """ +.. _step_demo: + ========= Step Demo ========= diff --git a/galleries/examples/mplot3d/bars3d.py b/galleries/examples/mplot3d/bars3d.py index 3ea4a100c2f6..ba732e7e15cb 100644 --- a/galleries/examples/mplot3d/bars3d.py +++ b/galleries/examples/mplot3d/bars3d.py @@ -1,4 +1,6 @@ """ +.. _bars3d: + ======================================== Create 2D bar graphs in different planes ======================================== diff --git a/galleries/examples/mplot3d/box3d.py b/galleries/examples/mplot3d/box3d.py index 4d75c8bc2809..f53149f42d56 100644 --- a/galleries/examples/mplot3d/box3d.py +++ b/galleries/examples/mplot3d/box3d.py @@ -1,4 +1,6 @@ """ +.. _box3d: + =================== 3D box surface plot =================== diff --git a/galleries/examples/mplot3d/custom_shaded_3d_surface.py b/galleries/examples/mplot3d/custom_shaded_3d_surface.py index e8d1a4f33d87..3dd254226b59 100644 --- a/galleries/examples/mplot3d/custom_shaded_3d_surface.py +++ b/galleries/examples/mplot3d/custom_shaded_3d_surface.py @@ -1,4 +1,6 @@ """ +.. _custom_shaded_3d_surface: + ======================================= Custom hillshading in a 3D surface plot ======================================= diff --git a/galleries/examples/mplot3d/intersecting_planes.py b/galleries/examples/mplot3d/intersecting_planes.py index 4f42e7bbeb94..abf3378be00e 100644 --- a/galleries/examples/mplot3d/intersecting_planes.py +++ b/galleries/examples/mplot3d/intersecting_planes.py @@ -1,4 +1,6 @@ """ +.. _intersecting_planes: + =================== Intersecting planes =================== diff --git a/galleries/examples/mplot3d/quiver3d.py b/galleries/examples/mplot3d/quiver3d.py index adc58c2e9d89..5655f12c734d 100644 --- a/galleries/examples/mplot3d/quiver3d.py +++ b/galleries/examples/mplot3d/quiver3d.py @@ -1,4 +1,6 @@ """ +.. _quiver3d: + ============== 3D quiver plot ============== diff --git a/galleries/examples/mplot3d/stem3d_demo.py b/galleries/examples/mplot3d/stem3d_demo.py index 82b45ff19068..a87a0ac69823 100644 --- a/galleries/examples/mplot3d/stem3d_demo.py +++ b/galleries/examples/mplot3d/stem3d_demo.py @@ -1,4 +1,6 @@ """ +.. _stem3d_demo: + ======= 3D stem ======= diff --git a/galleries/examples/mplot3d/surface3d.py b/galleries/examples/mplot3d/surface3d.py index 6c51a69c0d1f..5af89f876e1b 100644 --- a/galleries/examples/mplot3d/surface3d.py +++ b/galleries/examples/mplot3d/surface3d.py @@ -1,4 +1,6 @@ """ +.. _surface3d: + ===================== 3D surface (colormap) ===================== diff --git a/galleries/examples/mplot3d/surface3d_2.py b/galleries/examples/mplot3d/surface3d_2.py index 2a4406abc259..82365174c86d 100644 --- a/galleries/examples/mplot3d/surface3d_2.py +++ b/galleries/examples/mplot3d/surface3d_2.py @@ -1,4 +1,6 @@ """ +.. _surface3d_2: + ======================== 3D surface (solid color) ======================== diff --git a/galleries/examples/mplot3d/surface3d_3.py b/galleries/examples/mplot3d/surface3d_3.py index c129ef6d3635..57e541f249c2 100644 --- a/galleries/examples/mplot3d/surface3d_3.py +++ b/galleries/examples/mplot3d/surface3d_3.py @@ -1,4 +1,6 @@ """ +.. _surface3d_3: + ========================= 3D surface (checkerboard) ========================= diff --git a/galleries/examples/mplot3d/trisurf3d.py b/galleries/examples/mplot3d/trisurf3d.py index f4e7444a4311..3e754c217b05 100644 --- a/galleries/examples/mplot3d/trisurf3d.py +++ b/galleries/examples/mplot3d/trisurf3d.py @@ -1,4 +1,6 @@ """ +.. _trisurf3d: + ====================== Triangular 3D surfaces ====================== diff --git a/galleries/examples/mplot3d/trisurf3d_2.py b/galleries/examples/mplot3d/trisurf3d_2.py index 0e757140c20e..e597173fbca0 100644 --- a/galleries/examples/mplot3d/trisurf3d_2.py +++ b/galleries/examples/mplot3d/trisurf3d_2.py @@ -1,4 +1,6 @@ """ +.. _trisurf3d_2: + =========================== More triangular 3D surfaces =========================== diff --git a/galleries/examples/statistics/boxplot.py b/galleries/examples/statistics/boxplot.py index 6d30cbd4b5f0..10255182fe34 100644 --- a/galleries/examples/statistics/boxplot.py +++ b/galleries/examples/statistics/boxplot.py @@ -1,4 +1,6 @@ """ +.. _boxplot_artists: + ================================= Artist customization in box plots ================================= diff --git a/galleries/examples/statistics/boxplot_color.py b/galleries/examples/statistics/boxplot_color.py index acdb37d7d520..1475480e802e 100644 --- a/galleries/examples/statistics/boxplot_color.py +++ b/galleries/examples/statistics/boxplot_color.py @@ -1,4 +1,6 @@ """ +.. _boxplot_color: + ================================= Box plots with custom fill colors ================================= diff --git a/galleries/examples/statistics/boxplot_demo.py b/galleries/examples/statistics/boxplot_demo.py index b642d7e9f658..0f5c7f44403d 100644 --- a/galleries/examples/statistics/boxplot_demo.py +++ b/galleries/examples/statistics/boxplot_demo.py @@ -1,4 +1,6 @@ """ +.. _boxplot_demo: + ======== Boxplots ======== diff --git a/galleries/examples/statistics/boxplot_vs_violin.py b/galleries/examples/statistics/boxplot_vs_violin.py index 06aa2693f446..9c0d9720a3f4 100644 --- a/galleries/examples/statistics/boxplot_vs_violin.py +++ b/galleries/examples/statistics/boxplot_vs_violin.py @@ -1,4 +1,6 @@ """ +.. _boxplot_vs_violin: + =================================== Box plot vs. violin plot comparison =================================== diff --git a/galleries/examples/statistics/customized_violin.py b/galleries/examples/statistics/customized_violin.py index cc18e47ebd67..4ec9f4b11c1b 100644 --- a/galleries/examples/statistics/customized_violin.py +++ b/galleries/examples/statistics/customized_violin.py @@ -1,4 +1,6 @@ """ +.. _customized_violin: + ========================= Violin plot customization ========================= diff --git a/galleries/examples/statistics/hexbin_demo.py b/galleries/examples/statistics/hexbin_demo.py index bd1522772aae..879d92cd8d37 100644 --- a/galleries/examples/statistics/hexbin_demo.py +++ b/galleries/examples/statistics/hexbin_demo.py @@ -1,4 +1,6 @@ """ +.. _hexbin_demo: + ===================== Hexagonal binned plot ===================== diff --git a/galleries/examples/statistics/histogram_histtypes.py b/galleries/examples/statistics/histogram_histtypes.py index 53d6425cf4dc..c365b1ed9e93 100644 --- a/galleries/examples/statistics/histogram_histtypes.py +++ b/galleries/examples/statistics/histogram_histtypes.py @@ -1,4 +1,6 @@ """ +.. _histogram_histtypes: + ================================================================ Demo of the histogram function's different ``histtype`` settings ================================================================ diff --git a/galleries/examples/statistics/histogram_multihist.py b/galleries/examples/statistics/histogram_multihist.py index a85ec2acfa8d..36b770deff49 100644 --- a/galleries/examples/statistics/histogram_multihist.py +++ b/galleries/examples/statistics/histogram_multihist.py @@ -1,4 +1,6 @@ """ +.. _histogram_multihist: + ===================================================== The histogram (hist) function with multiple data sets ===================================================== diff --git a/galleries/examples/statistics/histogram_normalization.py b/galleries/examples/statistics/histogram_normalization.py index 2c423edad208..f511809f6ae3 100644 --- a/galleries/examples/statistics/histogram_normalization.py +++ b/galleries/examples/statistics/histogram_normalization.py @@ -1,5 +1,6 @@ """ .. redirect-from:: /gallery/statistics/histogram_features +.. _histogram_normalization: =================================== Histogram bins, density, and weight diff --git a/galleries/examples/statistics/violinplot.py b/galleries/examples/statistics/violinplot.py index 7f4725ff7a8c..e0becd10ddf7 100644 --- a/galleries/examples/statistics/violinplot.py +++ b/galleries/examples/statistics/violinplot.py @@ -1,4 +1,6 @@ """ +.. _violinplot: + ================== Violin plot basics ================== diff --git a/galleries/plot_types/3D/bar3d_simple.py b/galleries/plot_types/3D/bar3d_simple.py index aa75560de8f2..db0ca2c8a712 100644 --- a/galleries/plot_types/3D/bar3d_simple.py +++ b/galleries/plot_types/3D/bar3d_simple.py @@ -1,4 +1,6 @@ """ +.. _bar3d_simple: + ========================== bar3d(x, y, z, dx, dy, dz) ========================== diff --git a/galleries/plot_types/3D/surface3d_simple.py b/galleries/plot_types/3D/surface3d_simple.py index c887b042da94..c46f442a224e 100644 --- a/galleries/plot_types/3D/surface3d_simple.py +++ b/galleries/plot_types/3D/surface3d_simple.py @@ -1,4 +1,6 @@ """ +.. _surface3d_simple: + ===================== plot_surface(X, Y, Z) ===================== diff --git a/galleries/plot_types/3D/trisurf3d_simple.py b/galleries/plot_types/3D/trisurf3d_simple.py index f5252699ac23..970ee5bfdc57 100644 --- a/galleries/plot_types/3D/trisurf3d_simple.py +++ b/galleries/plot_types/3D/trisurf3d_simple.py @@ -1,4 +1,6 @@ """ +.. _trisurf3d_simple: + ===================== plot_trisurf(x, y, z) ===================== diff --git a/galleries/plot_types/arrays/pcolormesh.py b/galleries/plot_types/arrays/pcolormesh.py index 4f0913f62521..8ac1fcdf35f2 100644 --- a/galleries/plot_types/arrays/pcolormesh.py +++ b/galleries/plot_types/arrays/pcolormesh.py @@ -1,7 +1,10 @@ """ +.. _pcolormesh: + =================== pcolormesh(X, Y, Z) =================== + Create a pseudocolor plot with a non-regular rectangular grid. `~.axes.Axes.pcolormesh` is more flexible than `~.axes.Axes.imshow` in that diff --git a/galleries/users_explain/artists/index.rst b/galleries/users_explain/artists/index.rst index d3f2918c9a91..dacfa9f13aa7 100644 --- a/galleries/users_explain/artists/index.rst +++ b/galleries/users_explain/artists/index.rst @@ -1,3 +1,5 @@ +.. _users-guide-artists: + +++++++ Artists +++++++ diff --git a/galleries/users_explain/axes/index.rst b/galleries/users_explain/axes/index.rst index a3683d69ec5a..08662e89f44c 100644 --- a/galleries/users_explain/axes/index.rst +++ b/galleries/users_explain/axes/index.rst @@ -1,3 +1,5 @@ +.. _users_guide_axes: + +++++++++++++++++ Axes and subplots +++++++++++++++++ From 073fb4ddc512d85263f7aa58bd2644d05d9413bf Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Fri, 3 Apr 2026 16:37:19 -0700 Subject: [PATCH 2/2] DOC: rename anchors [ci doc] --- galleries/examples/images_contours_and_fields/contour_demo.py | 2 +- .../examples/images_contours_and_fields/contourf_demo.py | 2 +- galleries/examples/images_contours_and_fields/contourf_log.py | 2 +- .../examples/images_contours_and_fields/image_antialiasing.py | 4 ++-- galleries/examples/images_contours_and_fields/image_demo.py | 2 +- galleries/examples/images_contours_and_fields/pcolor_demo.py | 2 +- .../examples/images_contours_and_fields/pcolormesh_grids.py | 2 +- .../examples/images_contours_and_fields/plot_streamplot.py | 2 +- .../examples/images_contours_and_fields/tricontour_demo.py | 2 +- .../images_contours_and_fields/tricontour_smooth_delaunay.py | 2 +- .../images_contours_and_fields/tricontour_smooth_user.py | 2 +- .../examples/images_contours_and_fields/tripcolor_demo.py | 2 +- galleries/examples/images_contours_and_fields/triplot_demo.py | 2 +- .../examples/lines_bars_and_markers/categorical_variables.py | 2 +- galleries/examples/lines_bars_and_markers/eventplot_demo.py | 2 +- .../examples/lines_bars_and_markers/fill_between_demo.py | 2 +- galleries/examples/lines_bars_and_markers/step_demo.py | 2 +- galleries/examples/mplot3d/bars3d.py | 2 +- galleries/examples/mplot3d/box3d.py | 2 +- galleries/examples/mplot3d/custom_shaded_3d_surface.py | 2 +- galleries/examples/mplot3d/intersecting_planes.py | 2 +- galleries/examples/mplot3d/quiver3d.py | 2 +- galleries/examples/mplot3d/stem3d_demo.py | 2 +- galleries/examples/mplot3d/surface3d.py | 2 +- galleries/examples/mplot3d/surface3d_2.py | 2 +- galleries/examples/mplot3d/surface3d_3.py | 2 +- galleries/examples/mplot3d/trisurf3d.py | 2 +- galleries/examples/mplot3d/trisurf3d_2.py | 2 +- galleries/examples/statistics/boxplot.py | 2 +- galleries/examples/statistics/boxplot_color.py | 2 +- galleries/examples/statistics/boxplot_demo.py | 2 +- galleries/examples/statistics/boxplot_vs_violin.py | 2 +- galleries/examples/statistics/customized_violin.py | 2 +- galleries/examples/statistics/hexbin_demo.py | 2 +- galleries/examples/statistics/histogram_histtypes.py | 2 +- galleries/examples/statistics/histogram_multihist.py | 2 +- galleries/examples/statistics/histogram_normalization.py | 2 +- galleries/examples/statistics/violinplot.py | 2 +- galleries/plot_types/3D/bar3d_simple.py | 2 +- galleries/plot_types/3D/surface3d_simple.py | 2 +- galleries/plot_types/3D/trisurf3d_simple.py | 2 +- galleries/plot_types/arrays/pcolormesh.py | 2 +- galleries/users_explain/artists/index.rst | 2 +- galleries/users_explain/axes/index.rst | 2 +- 44 files changed, 45 insertions(+), 45 deletions(-) diff --git a/galleries/examples/images_contours_and_fields/contour_demo.py b/galleries/examples/images_contours_and_fields/contour_demo.py index 02db17d9cdd4..0992622d7bc7 100644 --- a/galleries/examples/images_contours_and_fields/contour_demo.py +++ b/galleries/examples/images_contours_and_fields/contour_demo.py @@ -1,5 +1,5 @@ """ -.. _contour_demo: +.. _examples-contour-demo: ============ Contour Demo diff --git a/galleries/examples/images_contours_and_fields/contourf_demo.py b/galleries/examples/images_contours_and_fields/contourf_demo.py index a0068718ad41..6d68dcbaa88b 100644 --- a/galleries/examples/images_contours_and_fields/contourf_demo.py +++ b/galleries/examples/images_contours_and_fields/contourf_demo.py @@ -1,5 +1,5 @@ """ -.. _contourf_demo: +.. _examples-contourf-demo: ============= Contourf demo ============= diff --git a/galleries/examples/images_contours_and_fields/contourf_log.py b/galleries/examples/images_contours_and_fields/contourf_log.py index 841ea5ae60f2..897f4884c322 100644 --- a/galleries/examples/images_contours_and_fields/contourf_log.py +++ b/galleries/examples/images_contours_and_fields/contourf_log.py @@ -1,5 +1,5 @@ """ -.. _contourf_log: +.. _examples-contourf-log: ============================ Contourf and log color scale diff --git a/galleries/examples/images_contours_and_fields/image_antialiasing.py b/galleries/examples/images_contours_and_fields/image_antialiasing.py index 05fafb065756..0bbf3a1061d1 100644 --- a/galleries/examples/images_contours_and_fields/image_antialiasing.py +++ b/galleries/examples/images_contours_and_fields/image_antialiasing.py @@ -1,7 +1,7 @@ """ -.. _image_antialiasing: +.. _examples-image-antialiasing: -.. _image_resampling: +.. _examples-image-resampling: ================ Image resampling diff --git a/galleries/examples/images_contours_and_fields/image_demo.py b/galleries/examples/images_contours_and_fields/image_demo.py index d7876e7c029f..b1e4c4dfc95d 100644 --- a/galleries/examples/images_contours_and_fields/image_demo.py +++ b/galleries/examples/images_contours_and_fields/image_demo.py @@ -1,5 +1,5 @@ """ -.. _image_demo: +.. _examples-image-demo: ======================== Many ways to plot images diff --git a/galleries/examples/images_contours_and_fields/pcolor_demo.py b/galleries/examples/images_contours_and_fields/pcolor_demo.py index 1300dfee7ec7..e054bbc0d3e2 100644 --- a/galleries/examples/images_contours_and_fields/pcolor_demo.py +++ b/galleries/examples/images_contours_and_fields/pcolor_demo.py @@ -1,5 +1,5 @@ """ -.. _pcolor_demo: +.. _examples-pcolor-demo: ============= pcolor images diff --git a/galleries/examples/images_contours_and_fields/pcolormesh_grids.py b/galleries/examples/images_contours_and_fields/pcolormesh_grids.py index 91cc60720e71..00a2a1a5e9d6 100644 --- a/galleries/examples/images_contours_and_fields/pcolormesh_grids.py +++ b/galleries/examples/images_contours_and_fields/pcolormesh_grids.py @@ -1,5 +1,5 @@ """ -.. _pcolormesh_grids: +.. _examples-pcolormesh-grids: ============================ pcolormesh grids and shading diff --git a/galleries/examples/images_contours_and_fields/plot_streamplot.py b/galleries/examples/images_contours_and_fields/plot_streamplot.py index f9eaff7bd80e..aaf373800a32 100644 --- a/galleries/examples/images_contours_and_fields/plot_streamplot.py +++ b/galleries/examples/images_contours_and_fields/plot_streamplot.py @@ -1,5 +1,5 @@ """ -.. _plot_streamplot: +.. _examples-plot-streamplot: ========== Streamplot diff --git a/galleries/examples/images_contours_and_fields/tricontour_demo.py b/galleries/examples/images_contours_and_fields/tricontour_demo.py index 2cf36ba50618..a7d2a8de8272 100644 --- a/galleries/examples/images_contours_and_fields/tricontour_demo.py +++ b/galleries/examples/images_contours_and_fields/tricontour_demo.py @@ -1,5 +1,5 @@ """ -.. _tricontour_demo: +.. _examples-tricontour-demo: =============== Tricontour Demo diff --git a/galleries/examples/images_contours_and_fields/tricontour_smooth_delaunay.py b/galleries/examples/images_contours_and_fields/tricontour_smooth_delaunay.py index 6ad8b452ac27..e942c664fc3c 100644 --- a/galleries/examples/images_contours_and_fields/tricontour_smooth_delaunay.py +++ b/galleries/examples/images_contours_and_fields/tricontour_smooth_delaunay.py @@ -1,5 +1,5 @@ """ -.. _tricontour_smooth_delaunay: +.. _examples-tricontour-smooth-delaunay: ========================== Tricontour Smooth Delaunay diff --git a/galleries/examples/images_contours_and_fields/tricontour_smooth_user.py b/galleries/examples/images_contours_and_fields/tricontour_smooth_user.py index d58b7172d7ee..1edc5a228d13 100644 --- a/galleries/examples/images_contours_and_fields/tricontour_smooth_user.py +++ b/galleries/examples/images_contours_and_fields/tricontour_smooth_user.py @@ -1,5 +1,5 @@ """ -.. _tricontour_smooth_user: +.. _examples-tricontour-smooth-user: ====================== Tricontour Smooth User diff --git a/galleries/examples/images_contours_and_fields/tripcolor_demo.py b/galleries/examples/images_contours_and_fields/tripcolor_demo.py index 0672d086d943..9040a472af92 100644 --- a/galleries/examples/images_contours_and_fields/tripcolor_demo.py +++ b/galleries/examples/images_contours_and_fields/tripcolor_demo.py @@ -1,5 +1,5 @@ """ -.. _tripcolor_demo: +.. _examples-tripcolor-demo: ============== Tripcolor Demo diff --git a/galleries/examples/images_contours_and_fields/triplot_demo.py b/galleries/examples/images_contours_and_fields/triplot_demo.py index 9db21628fcce..2273ea57d7a1 100644 --- a/galleries/examples/images_contours_and_fields/triplot_demo.py +++ b/galleries/examples/images_contours_and_fields/triplot_demo.py @@ -1,5 +1,5 @@ """ -.. _triplot_demo: +.. _examples-triplot-demo: ============ Triplot Demo diff --git a/galleries/examples/lines_bars_and_markers/categorical_variables.py b/galleries/examples/lines_bars_and_markers/categorical_variables.py index 2435417fe608..0b6a568f38dd 100644 --- a/galleries/examples/lines_bars_and_markers/categorical_variables.py +++ b/galleries/examples/lines_bars_and_markers/categorical_variables.py @@ -1,5 +1,5 @@ """ -.. _categorical_variables: +.. _examples-categorical-variables: ============================== Plotting categorical variables diff --git a/galleries/examples/lines_bars_and_markers/eventplot_demo.py b/galleries/examples/lines_bars_and_markers/eventplot_demo.py index eba72f17d29e..a1048b17fc93 100644 --- a/galleries/examples/lines_bars_and_markers/eventplot_demo.py +++ b/galleries/examples/lines_bars_and_markers/eventplot_demo.py @@ -1,5 +1,5 @@ """ -.. _eventplot_demo: +.. _examples-eventplot-demo: ============== Eventplot demo diff --git a/galleries/examples/lines_bars_and_markers/fill_between_demo.py b/galleries/examples/lines_bars_and_markers/fill_between_demo.py index 108e0fa20d21..4317176ca4e3 100644 --- a/galleries/examples/lines_bars_and_markers/fill_between_demo.py +++ b/galleries/examples/lines_bars_and_markers/fill_between_demo.py @@ -1,5 +1,5 @@ """ -.. _fill_between_demo: +.. _examples-fill-between-demo: =============================== Fill the area between two lines diff --git a/galleries/examples/lines_bars_and_markers/step_demo.py b/galleries/examples/lines_bars_and_markers/step_demo.py index 2aba2cb6d37b..b89e93b335dd 100644 --- a/galleries/examples/lines_bars_and_markers/step_demo.py +++ b/galleries/examples/lines_bars_and_markers/step_demo.py @@ -1,5 +1,5 @@ """ -.. _step_demo: +.. _examples-step-demo: ========= Step Demo diff --git a/galleries/examples/mplot3d/bars3d.py b/galleries/examples/mplot3d/bars3d.py index ba732e7e15cb..6908b382bf33 100644 --- a/galleries/examples/mplot3d/bars3d.py +++ b/galleries/examples/mplot3d/bars3d.py @@ -1,5 +1,5 @@ """ -.. _bars3d: +.. _examples-bars3d: ======================================== Create 2D bar graphs in different planes diff --git a/galleries/examples/mplot3d/box3d.py b/galleries/examples/mplot3d/box3d.py index f53149f42d56..94274bb8bf8d 100644 --- a/galleries/examples/mplot3d/box3d.py +++ b/galleries/examples/mplot3d/box3d.py @@ -1,5 +1,5 @@ """ -.. _box3d: +.. _examples-box3d: =================== 3D box surface plot diff --git a/galleries/examples/mplot3d/custom_shaded_3d_surface.py b/galleries/examples/mplot3d/custom_shaded_3d_surface.py index 3dd254226b59..d22e8a02735d 100644 --- a/galleries/examples/mplot3d/custom_shaded_3d_surface.py +++ b/galleries/examples/mplot3d/custom_shaded_3d_surface.py @@ -1,5 +1,5 @@ """ -.. _custom_shaded_3d_surface: +.. _examples-custom-shaded-3d-surface: ======================================= Custom hillshading in a 3D surface plot diff --git a/galleries/examples/mplot3d/intersecting_planes.py b/galleries/examples/mplot3d/intersecting_planes.py index abf3378be00e..68eb3b347e15 100644 --- a/galleries/examples/mplot3d/intersecting_planes.py +++ b/galleries/examples/mplot3d/intersecting_planes.py @@ -1,5 +1,5 @@ """ -.. _intersecting_planes: +.. _examples-intersecting-planes: =================== Intersecting planes diff --git a/galleries/examples/mplot3d/quiver3d.py b/galleries/examples/mplot3d/quiver3d.py index 5655f12c734d..e62cdceaf6c4 100644 --- a/galleries/examples/mplot3d/quiver3d.py +++ b/galleries/examples/mplot3d/quiver3d.py @@ -1,5 +1,5 @@ """ -.. _quiver3d: +.. _examples-quiver3d: ============== 3D quiver plot diff --git a/galleries/examples/mplot3d/stem3d_demo.py b/galleries/examples/mplot3d/stem3d_demo.py index a87a0ac69823..00f2b38bd43c 100644 --- a/galleries/examples/mplot3d/stem3d_demo.py +++ b/galleries/examples/mplot3d/stem3d_demo.py @@ -1,5 +1,5 @@ """ -.. _stem3d_demo: +.. _examples-stem3d-demo: ======= 3D stem diff --git a/galleries/examples/mplot3d/surface3d.py b/galleries/examples/mplot3d/surface3d.py index 5af89f876e1b..cb61ea4c892c 100644 --- a/galleries/examples/mplot3d/surface3d.py +++ b/galleries/examples/mplot3d/surface3d.py @@ -1,5 +1,5 @@ """ -.. _surface3d: +.. _examples-surface3d: ===================== 3D surface (colormap) diff --git a/galleries/examples/mplot3d/surface3d_2.py b/galleries/examples/mplot3d/surface3d_2.py index 82365174c86d..ab74b1e6470c 100644 --- a/galleries/examples/mplot3d/surface3d_2.py +++ b/galleries/examples/mplot3d/surface3d_2.py @@ -1,5 +1,5 @@ """ -.. _surface3d_2: +.. _examples-surface3d-2: ======================== 3D surface (solid color) diff --git a/galleries/examples/mplot3d/surface3d_3.py b/galleries/examples/mplot3d/surface3d_3.py index 57e541f249c2..0c583dfc0d46 100644 --- a/galleries/examples/mplot3d/surface3d_3.py +++ b/galleries/examples/mplot3d/surface3d_3.py @@ -1,5 +1,5 @@ """ -.. _surface3d_3: +.. _examples-surface3d-3: ========================= 3D surface (checkerboard) diff --git a/galleries/examples/mplot3d/trisurf3d.py b/galleries/examples/mplot3d/trisurf3d.py index 3e754c217b05..4efdc0992481 100644 --- a/galleries/examples/mplot3d/trisurf3d.py +++ b/galleries/examples/mplot3d/trisurf3d.py @@ -1,5 +1,5 @@ """ -.. _trisurf3d: +.. _examples-trisurf3d: ====================== Triangular 3D surfaces diff --git a/galleries/examples/mplot3d/trisurf3d_2.py b/galleries/examples/mplot3d/trisurf3d_2.py index e597173fbca0..7d4b75c12b84 100644 --- a/galleries/examples/mplot3d/trisurf3d_2.py +++ b/galleries/examples/mplot3d/trisurf3d_2.py @@ -1,5 +1,5 @@ """ -.. _trisurf3d_2: +.. _examples-trisurf3d-2: =========================== More triangular 3D surfaces diff --git a/galleries/examples/statistics/boxplot.py b/galleries/examples/statistics/boxplot.py index 10255182fe34..f15175975603 100644 --- a/galleries/examples/statistics/boxplot.py +++ b/galleries/examples/statistics/boxplot.py @@ -1,5 +1,5 @@ """ -.. _boxplot_artists: +.. _examples-boxplot-artists: ================================= Artist customization in box plots diff --git a/galleries/examples/statistics/boxplot_color.py b/galleries/examples/statistics/boxplot_color.py index 1475480e802e..fdac63d53253 100644 --- a/galleries/examples/statistics/boxplot_color.py +++ b/galleries/examples/statistics/boxplot_color.py @@ -1,5 +1,5 @@ """ -.. _boxplot_color: +.. _examples-boxplot-color: ================================= Box plots with custom fill colors diff --git a/galleries/examples/statistics/boxplot_demo.py b/galleries/examples/statistics/boxplot_demo.py index 0f5c7f44403d..5f943403d881 100644 --- a/galleries/examples/statistics/boxplot_demo.py +++ b/galleries/examples/statistics/boxplot_demo.py @@ -1,5 +1,5 @@ """ -.. _boxplot_demo: +.. _examples-boxplot-demo: ======== Boxplots diff --git a/galleries/examples/statistics/boxplot_vs_violin.py b/galleries/examples/statistics/boxplot_vs_violin.py index 9c0d9720a3f4..9e4d93ed2513 100644 --- a/galleries/examples/statistics/boxplot_vs_violin.py +++ b/galleries/examples/statistics/boxplot_vs_violin.py @@ -1,5 +1,5 @@ """ -.. _boxplot_vs_violin: +.. _examples-boxplot-vs-violin: =================================== Box plot vs. violin plot comparison diff --git a/galleries/examples/statistics/customized_violin.py b/galleries/examples/statistics/customized_violin.py index 4ec9f4b11c1b..4a6ee0083d14 100644 --- a/galleries/examples/statistics/customized_violin.py +++ b/galleries/examples/statistics/customized_violin.py @@ -1,5 +1,5 @@ """ -.. _customized_violin: +.. _examples-customized-violin: ========================= Violin plot customization diff --git a/galleries/examples/statistics/hexbin_demo.py b/galleries/examples/statistics/hexbin_demo.py index 879d92cd8d37..2f59cb826db7 100644 --- a/galleries/examples/statistics/hexbin_demo.py +++ b/galleries/examples/statistics/hexbin_demo.py @@ -1,5 +1,5 @@ """ -.. _hexbin_demo: +.. _examples-hexbin-demo: ===================== Hexagonal binned plot diff --git a/galleries/examples/statistics/histogram_histtypes.py b/galleries/examples/statistics/histogram_histtypes.py index c365b1ed9e93..2a2edce4ac62 100644 --- a/galleries/examples/statistics/histogram_histtypes.py +++ b/galleries/examples/statistics/histogram_histtypes.py @@ -1,5 +1,5 @@ """ -.. _histogram_histtypes: +.. _examples-histogram-histtypes: ================================================================ Demo of the histogram function's different ``histtype`` settings diff --git a/galleries/examples/statistics/histogram_multihist.py b/galleries/examples/statistics/histogram_multihist.py index 36b770deff49..f746af603e1f 100644 --- a/galleries/examples/statistics/histogram_multihist.py +++ b/galleries/examples/statistics/histogram_multihist.py @@ -1,5 +1,5 @@ """ -.. _histogram_multihist: +.. _examples-histogram-multihist: ===================================================== The histogram (hist) function with multiple data sets diff --git a/galleries/examples/statistics/histogram_normalization.py b/galleries/examples/statistics/histogram_normalization.py index f511809f6ae3..c7df327cac08 100644 --- a/galleries/examples/statistics/histogram_normalization.py +++ b/galleries/examples/statistics/histogram_normalization.py @@ -1,6 +1,6 @@ """ .. redirect-from:: /gallery/statistics/histogram_features -.. _histogram_normalization: +.. _examples-histogram-normalization: =================================== Histogram bins, density, and weight diff --git a/galleries/examples/statistics/violinplot.py b/galleries/examples/statistics/violinplot.py index e0becd10ddf7..0ccd4e2491b2 100644 --- a/galleries/examples/statistics/violinplot.py +++ b/galleries/examples/statistics/violinplot.py @@ -1,5 +1,5 @@ """ -.. _violinplot: +.. _examples-violinplot: ================== Violin plot basics diff --git a/galleries/plot_types/3D/bar3d_simple.py b/galleries/plot_types/3D/bar3d_simple.py index db0ca2c8a712..2927b6ec2c30 100644 --- a/galleries/plot_types/3D/bar3d_simple.py +++ b/galleries/plot_types/3D/bar3d_simple.py @@ -1,5 +1,5 @@ """ -.. _bar3d_simple: +.. _plot-types-bar3d-simple: ========================== bar3d(x, y, z, dx, dy, dz) diff --git a/galleries/plot_types/3D/surface3d_simple.py b/galleries/plot_types/3D/surface3d_simple.py index c46f442a224e..f9f71ddecb7f 100644 --- a/galleries/plot_types/3D/surface3d_simple.py +++ b/galleries/plot_types/3D/surface3d_simple.py @@ -1,5 +1,5 @@ """ -.. _surface3d_simple: +.. _plot-types-surface3d-simple: ===================== plot_surface(X, Y, Z) diff --git a/galleries/plot_types/3D/trisurf3d_simple.py b/galleries/plot_types/3D/trisurf3d_simple.py index 970ee5bfdc57..82b53c489863 100644 --- a/galleries/plot_types/3D/trisurf3d_simple.py +++ b/galleries/plot_types/3D/trisurf3d_simple.py @@ -1,5 +1,5 @@ """ -.. _trisurf3d_simple: +.. _plot-types-trisurf3d-simple: ===================== plot_trisurf(x, y, z) diff --git a/galleries/plot_types/arrays/pcolormesh.py b/galleries/plot_types/arrays/pcolormesh.py index 8ac1fcdf35f2..8c8678e1092c 100644 --- a/galleries/plot_types/arrays/pcolormesh.py +++ b/galleries/plot_types/arrays/pcolormesh.py @@ -1,5 +1,5 @@ """ -.. _pcolormesh: +.. _plot-types-pcolormesh: =================== pcolormesh(X, Y, Z) diff --git a/galleries/users_explain/artists/index.rst b/galleries/users_explain/artists/index.rst index dacfa9f13aa7..7d33118a52df 100644 --- a/galleries/users_explain/artists/index.rst +++ b/galleries/users_explain/artists/index.rst @@ -1,4 +1,4 @@ -.. _users-guide-artists: +.. _users-explain-users-guide-artists: +++++++ Artists diff --git a/galleries/users_explain/axes/index.rst b/galleries/users_explain/axes/index.rst index 08662e89f44c..8f23420f583a 100644 --- a/galleries/users_explain/axes/index.rst +++ b/galleries/users_explain/axes/index.rst @@ -1,4 +1,4 @@ -.. _users_guide_axes: +.. _users-explain-users-guide-axes: +++++++++++++++++ Axes and subplots