From d2f75c740db10f78cf7a9e368f80e4fd24c09451 Mon Sep 17 00:00:00 2001 From: Matthew Morrison Date: Thu, 2 Nov 2023 16:24:34 -0400 Subject: [PATCH 01/12] Fixing sentence case usage inside user_explain/axes pages --- galleries/users_explain/axes/autoscale.py | 4 ++-- galleries/users_explain/axes/axes_ticks.py | 2 +- galleries/users_explain/axes/colorbar_placement.py | 2 +- galleries/users_explain/axes/constrainedlayout_guide.py | 2 +- galleries/users_explain/axes/legend_guide.py | 2 +- galleries/users_explain/axes/tight_layout_guide.py | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/galleries/users_explain/axes/autoscale.py b/galleries/users_explain/axes/autoscale.py index a9d6b728866c..6355d310522d 100644 --- a/galleries/users_explain/axes/autoscale.py +++ b/galleries/users_explain/axes/autoscale.py @@ -3,8 +3,8 @@ .. _autoscale: -Autoscaling -=========== +Autoscaling axes +================ The limits on an axis can be set manually (e.g. ``ax.set_xlim(xmin, xmax)``) or Matplotlib can set them automatically based on the data already on the axes. diff --git a/galleries/users_explain/axes/axes_ticks.py b/galleries/users_explain/axes/axes_ticks.py index aaec87c6a239..3870c26af70e 100644 --- a/galleries/users_explain/axes/axes_ticks.py +++ b/galleries/users_explain/axes/axes_ticks.py @@ -2,7 +2,7 @@ .. _user_axes_ticks: ========== -Axis Ticks +Axis ticks ========== The x and y Axis on each Axes have default tick "locators" and "formatters" diff --git a/galleries/users_explain/axes/colorbar_placement.py b/galleries/users_explain/axes/colorbar_placement.py index 1e43d4940a98..8dbc2a356cb1 100644 --- a/galleries/users_explain/axes/colorbar_placement.py +++ b/galleries/users_explain/axes/colorbar_placement.py @@ -4,7 +4,7 @@ .. redirect-from:: /gallery/subplots_axes_and_figures/colorbar_placement ================= -Placing Colorbars +Placing colorbars ================= Colorbars indicate the quantitative extent of image data. Placing in diff --git a/galleries/users_explain/axes/constrainedlayout_guide.py b/galleries/users_explain/axes/constrainedlayout_guide.py index 260a4f76bf71..c928fe81b373 100644 --- a/galleries/users_explain/axes/constrainedlayout_guide.py +++ b/galleries/users_explain/axes/constrainedlayout_guide.py @@ -5,7 +5,7 @@ .. _constrainedlayout_guide: ======================== -Constrained Layout Guide +Constrained layout guide ======================== Use *constrained layout* to fit plots within your figure cleanly. diff --git a/galleries/users_explain/axes/legend_guide.py b/galleries/users_explain/axes/legend_guide.py index 9900b0aa4bdd..a0581818c3ff 100644 --- a/galleries/users_explain/axes/legend_guide.py +++ b/galleries/users_explain/axes/legend_guide.py @@ -216,7 +216,7 @@ plt.show() # %% -# Legend Handlers +# Legend handlers # =============== # # In order to create legend entries, handles are given as an argument to an diff --git a/galleries/users_explain/axes/tight_layout_guide.py b/galleries/users_explain/axes/tight_layout_guide.py index 42c227b2e360..9be663998086 100644 --- a/galleries/users_explain/axes/tight_layout_guide.py +++ b/galleries/users_explain/axes/tight_layout_guide.py @@ -4,7 +4,7 @@ .. _tight_layout_guide: ================== -Tight Layout guide +Tight layout guide ================== How to use tight-layout to fit plots within your figure cleanly. @@ -18,7 +18,7 @@ `. -Simple Example +Simple example ============== In matplotlib, the location of axes (including subplots) are specified in @@ -213,7 +213,7 @@ def example_plot(ax, fontsize=12): # %% -# Legends and Annotations +# Legends and annotations # ======================= # # Pre Matplotlib 2.2, legends and annotations were excluded from the bounding From b55ecc348078c3c5341e84920aeb1cd2273b129d Mon Sep 17 00:00:00 2001 From: Matthew Morrison Date: Thu, 2 Nov 2023 16:31:53 -0400 Subject: [PATCH 02/12] Fixing sentence case usage inside user_explain/animations pages --- galleries/users_explain/animations/animations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/galleries/users_explain/animations/animations.py b/galleries/users_explain/animations/animations.py index b022350c8985..fb8564f8318e 100644 --- a/galleries/users_explain/animations/animations.py +++ b/galleries/users_explain/animations/animations.py @@ -20,7 +20,7 @@ import matplotlib.animation as animation # %% -# Animation Classes +# Animation classes # ================= # # The animation process in Matplotlib can be thought of in 2 different ways: @@ -158,7 +158,7 @@ def update(frame): plt.show() # %% -# Animation Writers +# Animation writers # ================= # # Animation objects can be saved to disk using various multimedia writers From 06ff59364f5b7ab3699e4e270e54b077a2d482fb Mon Sep 17 00:00:00 2001 From: Matthew Morrison Date: Thu, 2 Nov 2023 16:38:29 -0400 Subject: [PATCH 03/12] Fixing sentence case usage inside user_explain/artists pages --- galleries/users_explain/artists/patheffects_guide.py | 4 ++-- galleries/users_explain/artists/paths.py | 2 +- galleries/users_explain/artists/transforms_tutorial.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/galleries/users_explain/artists/patheffects_guide.py b/galleries/users_explain/artists/patheffects_guide.py index 259261fb09d4..28a6b9dd1d03 100644 --- a/galleries/users_explain/artists/patheffects_guide.py +++ b/galleries/users_explain/artists/patheffects_guide.py @@ -64,7 +64,7 @@ # automatically followed with the "normal" effect, whereas the latter # explicitly defines the two path effects to draw. # -# Making an artist stand out +# Making an Artist stand out # -------------------------- # # One nice way of making artists visually stand out is to draw an outline in @@ -93,7 +93,7 @@ # its user interface. # # -# Greater control of the path effect artist +# Greater control of the path effect Artist # ----------------------------------------- # # As already mentioned, some of the path effects operate at a lower level diff --git a/galleries/users_explain/artists/paths.py b/galleries/users_explain/artists/paths.py index b096d05d0751..5c6bc6f24404 100644 --- a/galleries/users_explain/artists/paths.py +++ b/galleries/users_explain/artists/paths.py @@ -4,7 +4,7 @@ .. _paths: ============= -Path Tutorial +Path tutorial ============= Defining paths in your Matplotlib visualization. diff --git a/galleries/users_explain/artists/transforms_tutorial.py b/galleries/users_explain/artists/transforms_tutorial.py index a39cf7a30192..4bbc48147fc8 100644 --- a/galleries/users_explain/artists/transforms_tutorial.py +++ b/galleries/users_explain/artists/transforms_tutorial.py @@ -4,7 +4,7 @@ .. _transforms_tutorial: ======================== -Transformations Tutorial +Transformations tutorial ======================== Like any graphics packages, Matplotlib is built on top of a transformation From 0af7359a2563f4406dcc971cee37fcd0d72c750c Mon Sep 17 00:00:00 2001 From: Matthew Morrison Date: Thu, 2 Nov 2023 16:42:13 -0400 Subject: [PATCH 04/12] Fixing sentence case usage inside user_explain/colors pages --- galleries/users_explain/colors/colorbar_only.py | 4 ++-- galleries/users_explain/colors/colormap-manipulation.py | 2 +- galleries/users_explain/colors/colormapnorms.py | 2 +- galleries/users_explain/colors/colormaps.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/galleries/users_explain/colors/colorbar_only.py b/galleries/users_explain/colors/colorbar_only.py index f9f126533a16..0953920eaad7 100644 --- a/galleries/users_explain/colors/colorbar_only.py +++ b/galleries/users_explain/colors/colorbar_only.py @@ -2,13 +2,13 @@ .. redirect-from:: /tutorials/colors/colorbar_only ============================= -Customized Colorbars Tutorial +Customized colorbars tutorial ============================= This tutorial shows how to build and customize standalone colorbars, i.e. without an attached plot. -Customized Colorbars +Customized colorbars ==================== A `~.Figure.colorbar` needs a "mappable" (`matplotlib.cm.ScalarMappable`) diff --git a/galleries/users_explain/colors/colormap-manipulation.py b/galleries/users_explain/colors/colormap-manipulation.py index 88e4c5befaf0..65892c44ff18 100644 --- a/galleries/users_explain/colors/colormap-manipulation.py +++ b/galleries/users_explain/colors/colormap-manipulation.py @@ -4,7 +4,7 @@ .. _colormap-manipulation: ******************************** -Creating Colormaps in Matplotlib +Creating colormaps in Matplotlib ******************************** Matplotlib has a number of built-in colormaps accessible via diff --git a/galleries/users_explain/colors/colormapnorms.py b/galleries/users_explain/colors/colormapnorms.py index f375b3af805b..3aa0ab729371 100644 --- a/galleries/users_explain/colors/colormapnorms.py +++ b/galleries/users_explain/colors/colormapnorms.py @@ -4,7 +4,7 @@ .. _colormapnorms: -Colormap Normalization +Colormap normalization ====================== Objects that use colormaps by default linearly map the colors in the diff --git a/galleries/users_explain/colors/colormaps.py b/galleries/users_explain/colors/colormaps.py index 92b56d298976..9cda2eefe5b5 100644 --- a/galleries/users_explain/colors/colormaps.py +++ b/galleries/users_explain/colors/colormaps.py @@ -4,7 +4,7 @@ .. _colormaps: ******************************** -Choosing Colormaps in Matplotlib +Choosing colormaps in Matplotlib ******************************** Matplotlib has a number of built-in colormaps accessible via From 7665081b5c98f26268ae55f4ac42aa1afa90faa8 Mon Sep 17 00:00:00 2001 From: Matthew Morrison Date: Thu, 2 Nov 2023 22:47:17 -0400 Subject: [PATCH 05/12] Fixing sentence case usage inside user_explain/toolkits pages --- galleries/users_explain/toolkits/axes_grid.rst | 2 +- galleries/users_explain/toolkits/axisartist.rst | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/galleries/users_explain/toolkits/axes_grid.rst b/galleries/users_explain/toolkits/axes_grid.rst index ba37c4cf7d78..7ef8b1e582b6 100644 --- a/galleries/users_explain/toolkits/axes_grid.rst +++ b/galleries/users_explain/toolkits/axes_grid.rst @@ -60,7 +60,7 @@ The examples below show what you can do with ImageGrid. :target: /gallery/axes_grid1/demo_axes_grid.html :align: center -AxesDivider Class +AxesDivider class ----------------- Behind the scenes, ImageGrid (and RGBAxes, described below) rely on diff --git a/galleries/users_explain/toolkits/axisartist.rst b/galleries/users_explain/toolkits/axisartist.rst index 4927f9a3c940..eff2b575a63f 100644 --- a/galleries/users_explain/toolkits/axisartist.rst +++ b/galleries/users_explain/toolkits/axisartist.rst @@ -99,7 +99,7 @@ Here is an example that uses ParasiteAxes. :target: /gallery/axisartist/demo_parasite_axes2.html :align: center -Curvilinear Grid +Curvilinear grid ---------------- The motivation behind the AxisArtist module is to support a curvilinear grid @@ -298,7 +298,7 @@ HowTo To change the pad between ticklabels and axis label, axis.label.set_pad method. -Rotation and Alignment of TickLabels +Rotation and alignment of TickLabels ==================================== This is also quite different from standard Matplotlib and can be @@ -566,7 +566,7 @@ way is to add it as an item of Axes's axis attribute.:: See the first example of this page. -Current Limitations and TODO's +Current limitations and TODO's ============================== The code need more refinement. Here is a incomplete list of issues and TODO's From 60ecb12bf13bda7dd721e95020e92eaf23f3ac83 Mon Sep 17 00:00:00 2001 From: Matthew Morrison <120498834+mattymo30@users.noreply.github.com> Date: Mon, 20 Nov 2023 13:43:32 -0500 Subject: [PATCH 06/12] Update galleries/users_explain/artists/paths.py Co-authored-by: hannah --- galleries/users_explain/artists/paths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galleries/users_explain/artists/paths.py b/galleries/users_explain/artists/paths.py index 5c6bc6f24404..b096d05d0751 100644 --- a/galleries/users_explain/artists/paths.py +++ b/galleries/users_explain/artists/paths.py @@ -4,7 +4,7 @@ .. _paths: ============= -Path tutorial +Path Tutorial ============= Defining paths in your Matplotlib visualization. From e9f5e753e316620df649b2a55b7bb23a8b934df2 Mon Sep 17 00:00:00 2001 From: Matthew Morrison <120498834+mattymo30@users.noreply.github.com> Date: Mon, 20 Nov 2023 13:43:39 -0500 Subject: [PATCH 07/12] Update galleries/users_explain/artists/transforms_tutorial.py Co-authored-by: hannah --- galleries/users_explain/artists/transforms_tutorial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galleries/users_explain/artists/transforms_tutorial.py b/galleries/users_explain/artists/transforms_tutorial.py index 4bbc48147fc8..a39cf7a30192 100644 --- a/galleries/users_explain/artists/transforms_tutorial.py +++ b/galleries/users_explain/artists/transforms_tutorial.py @@ -4,7 +4,7 @@ .. _transforms_tutorial: ======================== -Transformations tutorial +Transformations Tutorial ======================== Like any graphics packages, Matplotlib is built on top of a transformation From 702caaf615d24e39355fc56f4b027245447de99a Mon Sep 17 00:00:00 2001 From: Matthew Morrison <120498834+mattymo30@users.noreply.github.com> Date: Mon, 20 Nov 2023 13:43:46 -0500 Subject: [PATCH 08/12] Update galleries/users_explain/colors/colormaps.py Co-authored-by: hannah --- galleries/users_explain/colors/colormaps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galleries/users_explain/colors/colormaps.py b/galleries/users_explain/colors/colormaps.py index 9cda2eefe5b5..ad6e31c501e0 100644 --- a/galleries/users_explain/colors/colormaps.py +++ b/galleries/users_explain/colors/colormaps.py @@ -4,7 +4,7 @@ .. _colormaps: ******************************** -Choosing colormaps in Matplotlib +Choosing Colormaps in Matplotlib ******************************** Matplotlib has a number of built-in colormaps accessible via From 2da575d1a25d67de115efdcb6adddecb1f6097a8 Mon Sep 17 00:00:00 2001 From: Matthew Morrison <120498834+mattymo30@users.noreply.github.com> Date: Mon, 20 Nov 2023 13:43:54 -0500 Subject: [PATCH 09/12] Update galleries/users_explain/colors/colorbar_only.py Co-authored-by: hannah --- galleries/users_explain/colors/colorbar_only.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galleries/users_explain/colors/colorbar_only.py b/galleries/users_explain/colors/colorbar_only.py index c2680dedc24d..4140ea454b99 100644 --- a/galleries/users_explain/colors/colorbar_only.py +++ b/galleries/users_explain/colors/colorbar_only.py @@ -2,7 +2,7 @@ .. redirect-from:: /tutorials/colors/colorbar_only ============================= -Customized colorbars tutorial +Customized Colorbars Tutorial ============================= This tutorial shows how to build and customize standalone colorbars, i.e. From 7998a6ff02a67229dc89503a4828a9c67020aa8d Mon Sep 17 00:00:00 2001 From: Matthew Morrison <120498834+mattymo30@users.noreply.github.com> Date: Mon, 20 Nov 2023 13:44:19 -0500 Subject: [PATCH 10/12] Update galleries/users_explain/axes/autoscale.py Co-authored-by: hannah --- galleries/users_explain/axes/autoscale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galleries/users_explain/axes/autoscale.py b/galleries/users_explain/axes/autoscale.py index 6355d310522d..53435f4086c9 100644 --- a/galleries/users_explain/axes/autoscale.py +++ b/galleries/users_explain/axes/autoscale.py @@ -3,7 +3,7 @@ .. _autoscale: -Autoscaling axes +Autoscaling Axis ================ The limits on an axis can be set manually (e.g. ``ax.set_xlim(xmin, xmax)``) From 3a23c1fd289ad45d2b6723eac1f1640521c5c3c4 Mon Sep 17 00:00:00 2001 From: Matthew Morrison <120498834+mattymo30@users.noreply.github.com> Date: Mon, 20 Nov 2023 13:44:29 -0500 Subject: [PATCH 11/12] Update galleries/users_explain/colors/colormap-manipulation.py Co-authored-by: hannah --- galleries/users_explain/colors/colormap-manipulation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galleries/users_explain/colors/colormap-manipulation.py b/galleries/users_explain/colors/colormap-manipulation.py index d0215814f65b..0cd488857257 100644 --- a/galleries/users_explain/colors/colormap-manipulation.py +++ b/galleries/users_explain/colors/colormap-manipulation.py @@ -4,7 +4,7 @@ .. _colormap-manipulation: ******************************** -Creating colormaps in Matplotlib +Creating Colormaps in Matplotlib ******************************** Matplotlib has a number of built-in colormaps accessible via From 97982ddb6201f2ccec6b5cbf70a41d31392b9dc5 Mon Sep 17 00:00:00 2001 From: Matthew Morrison <120498834+mattymo30@users.noreply.github.com> Date: Fri, 1 Dec 2023 15:27:01 -0500 Subject: [PATCH 12/12] Update galleries/users_explain/colors/colormaps.py Co-authored-by: hannah --- galleries/users_explain/colors/colormaps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galleries/users_explain/colors/colormaps.py b/galleries/users_explain/colors/colormaps.py index ad6e31c501e0..92b56d298976 100644 --- a/galleries/users_explain/colors/colormaps.py +++ b/galleries/users_explain/colors/colormaps.py @@ -4,7 +4,7 @@ .. _colormaps: ******************************** -Choosing Colormaps in Matplotlib +Choosing Colormaps in Matplotlib ******************************** Matplotlib has a number of built-in colormaps accessible via