8000 Fixing Sentence Case on Section Titles in users_explain (#27325) · matplotlib/matplotlib@161d47b · GitHub
[go: up one dir, main page]

Skip to content

Commit 161d47b

Browse files
mattymo30story645
andauthored
Fixing Sentence Case on Section Titles in users_explain (#27325)
* Fixing sentence case usage inside user_explain/axes pages * Fixing sentence case usage inside user_explain/animations pages * Fixing sentence case usage inside user_explain/artists pages * Fixing sentence case usage inside user_explain/colors pages * Fixing sentence case usage inside user_explain/toolkits pages * Update galleries/users_explain/artists/paths.py Co-authored-by: hannah <story645@gmail.com> * Update galleries/users_explain/artists/transforms_tutorial.py Co-authored-by: hannah <story645@gmail.com> * Update galleries/users_explain/colors/colormaps.py Co-authored-by: hannah <story645@gmail.com> * Update galleries/users_explain/colors/colorbar_only.py Co-authored-by: hannah <story645@gmail.com> * Update galleries/users_explain/axes/autoscale.py Co-authored-by: hannah <story645@gmail.com> * Update galleries/users_explain/colors/colormap-manipulation.py Co-authored-by: hannah <story645@gmail.com> * Update galleries/users_explain/colors/colormaps.py Co-authored-by: hannah <story645@gmail.com> --------- Co-authored-by: hannah <story645@gmail.com>
1 parent 70aff7d commit 161d47b

14 files changed

+27
-26
lines changed

galleries/users_explain/animations/animations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import matplotlib.animation as animation
2121

2222
# %%
23-
# Animation Classes
23+
# Animation classes
2424
# =================
2525
#
2626
# The animation process in Matplotlib can be thought of in 2 different ways:
@@ -158,7 +158,7 @@ def update(frame):
158158
plt.show()
159159

160160
# %%
161-
# Animation Writers
161+
# Animation writers
162162
# =================
163163
#
164164
# Animation objects can be saved to disk using various multimedia writers

galleries/users_explain/artists/patheffects_guide.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
# automatically followed with the "normal" effect, whereas the latter
6565
# explicitly defines the two path effects to draw.
6666
#
67-
# Making an artist stand out
67+
# Making an Artist stand out
6868
# --------------------------
6969
#
7070
# One nice way of making artists visually stand out is to draw an outline in
@@ -93,7 +93,7 @@
9393
# its user interface.
9494
#
9595
#
96-
# Greater control of the path effect artist
96+
# Greater control of the path effect Artist
9797
# -----------------------------------------
9898
#
9999
# As already mentioned, some of the path effects operate at a lower level

galleries/users_explain/axes/autoscale.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
44
.. _autoscale:
55
6-
Autoscaling
7-
===========
6+
Autoscaling Axis
7+
================
88
99
The limits on an axis can be set manually (e.g. ``ax.set_xlim(xmin, xmax)``)
1010
or Matplotlib can set them automatically based on the data already on the axes.

galleries/users_explain/axes/axes_ticks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.. _user_axes_ticks:
33
44
==========
5-
Axis Ticks
5+
Axis ticks
66
==========
77
88
The x and y Axis on each Axes have default tick "locators" and "formatters"

galleries/users_explain/axes/colorbar_placement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.. redirect-from:: /gallery/subplots_axes_and_figures/colorbar_placement
55
66
=================
7-
Placing Colorbars
7+
Placing colorbars
88
=================
99
1010
Colorbars indicate the quantitative extent of image data. Placing in

galleries/users_explain/axes/constrainedlayout_guide.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.. _constrainedlayout_guide:
66
77
========================
8-
Constrained Layout Guide
8+
Constrained layout guide
99
========================
1010
1111
Use *constrained layout* to fit plots within your figure cleanly.

galleries/users_explain/axes/legend_guide.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
plt.show()
214214

215215
# %%
216-
# Legend Handlers
216+
# Legend handlers
217217
# ===============
218218
#
219219
# In order to create legend entries, handles are given as an argument to an

galleries/users_explain/axes/tight_layout_guide.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.. _tight_layout_guide:
55
66
==================
7-
Tight Layout guide
7+
Tight layout guide
88
==================
99
1010
How to use tight-layout to fit plots within your figure cleanly.
@@ -17,6 +17,7 @@
1717
An alternative to *tight_layout* is :ref:`constrained_layout
1818
<constrainedlayout_guide>`.
1919
20+
2021
Simple example
2122
==============
2223
@@ -209,7 +210,7 @@ def example_plot(ax, fontsize=12):
209210

210211

211212
# %%
212-
# Legends and Annotations
213+
# Legends and annotations
213214
# =======================
214215
#
215216
# Pre Matplotlib 2.2, legends and annotations were excluded from the bounding

galleries/users_explain/colors/colorbar_only.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
"""
22
.. redirect-from:: /tutorials/colors/colorbar_only
33
4-
====================
5-
Standalone colorbars
6-
====================
4+
=============================
5+
Customized Colorbars Tutorial
6+
=============================
77
88
This tutorial shows how to build and customize standalone colorbars, i.e.
99
without an attached plot.

galleries/users_explain/colors/colormap-manipulation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
44
.. _colormap-manipulation:
55
6-
******************
7-
Creating Colormaps
8-
******************
6+
********************************
7+
Creating Colormaps in Matplotlib
8+
********************************
99
1010
Matplotlib has a number of built-in colormaps accessible via
1111
`.matplotlib.colormaps`. There are also external libraries like

galleries/users_explain/colors/colormapnorms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
.. _colormapnorms:
66
7-
Colormap Normalization
7+
Colormap normalization
88
======================
99
1010
Objects that use colormaps by default linearly map the colors in the

galleries/users_explain/colors/colormaps.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
44
.. _colormaps:
55
6-
******************
7-
Choosing Colormaps
8-
******************
6+
********************************
7+
Choosing Colormaps in Matplotlib
8+
********************************
99
1010
Matplotlib has a number of built-in colormaps accessible via
1111
`.matplotlib.colormaps`. There are also external libraries that

galleries/users_explain/toolkits/axes_grid.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The examples below show what you can do with ImageGrid.
6060
:target: /gallery/axes_grid1/demo_axes_grid.html
6161
:align: center
6262

63-
AxesDivider Class
63+
AxesDivider class
6464
-----------------
6565

6666
Behind the scenes, ImageGrid (and RGBAxes, described below) rely on

galleries/users_explain/toolkits/axisartist.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Here is an example that uses ParasiteAxes.
9999
:target: /gallery/axisartist/demo_parasite_axes2.html
100100
:align: center
101101

102-
Curvilinear Grid
102+
Curvilinear grid
103103
----------------
104104

105105
The motivation behind the AxisArtist module is to support a curvilinear grid
@@ -298,7 +298,7 @@ HowTo
298298
To change the pad between ticklabels and axis label,
299299
axis.label.set_pad method.
300300

301-
Rotation and Alignment of TickLabels
301+
Rotation and alignment of TickLabels
302302
====================================
303303

304304
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.::
566566

567567
See the first example of this page.
568568

569-
Current Limitations and TODO's
569+
Current limitations and TODO's
570570
==============================
571571

572572
The code need more refinement. Here is a incomplete list of issues and TODO's

0 commit comments

Comments
 (0)
0