From c2f421a7153896aae0fd1ff0050488b327b29626 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Sat, 2 Nov 2024 15:04:41 -0700 Subject: [PATCH] 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 7f223f6998f2..4e6097b9ba0f 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 4111adfa2c4e..49fa669cb315 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 4cceb38fbd4d..4048eec181d3 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 807e3d496ec6..c98084229416 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 a5a92caf5c6b..25e9573f5d84 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 6e45e7e75c72..543737fd3ab8 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 f277e737e65c..434d8ee77e0d 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 29ddcda92fbe..0ddf40d91e84 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 308a4d4ea208..4597958f6945 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 +++++++++++++++++