Skip to content

Commit 23bcf8c

Browse files
committed
Tweak examples capitalization/punctuation.
(Looking at the list of titles at https://matplotlib.org/stable/gallery/index.html the weak consensus seems to be using no titlecase (which is also my preference), but there's certainly room for improved consistency there as well.)
1 parent 4cfe922 commit 23bcf8c

File tree

7 files changed

+11
-14
lines changed

7 files changed

+11
-14
lines changed

examples/lines_bars_and_markers/eventcollection_demo.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
"""
1+
r"""
22
====================
33
EventCollection Demo
44
====================
55
6-
Plot two curves, then use EventCollections to mark the locations of the x
7-
and y data points on the respective axes for each curve
6+
Plot two curves, then use `.EventCollection`\s to mark the locations of the x
7+
and y data points on the respective axes for each curve.
88
"""
99

1010
import matplotlib.pyplot as plt

examples/specialty_plots/mri_with_eeg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
============
3-
MRI With EEG
3+
MRI with EEG
44
============
55
66
Displays a set of subplots with an MRI image, its intensity

examples/units/ellipse_with_units.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
"""
22
==================
3-
Ellipse With Units
3+
Ellipse with units
44
==================
55
6-
Compare the ellipse generated with arcs versus a polygonal approximation
6+
Compare the ellipse generated with arcs versus a polygonal approximation.
77
88
.. only:: builder_html
99
1010
This example requires :download:`basic_units.py <basic_units.py>`
1111
"""
12+
1213
from basic_units import cm
1314
import numpy as np
1415
from matplotlib import patches

examples/user_interfaces/mpl_with_glade3_sgskip.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"""
22
=======================
3-
Matplotlib With Glade 3
3+
Matplotlib with Glade 3
44
=======================
5-
65
"""
76

87
from pathlib import Path

examples/userdemo/pgf_fonts.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"""
22
=========
3-
Pgf Fonts
3+
PGF fonts
44
=========
5-
65
"""
76

87
import matplotlib.pyplot as plt

examples/userdemo/pgf_preamble_sgskip.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"""
22
============
3-
Pgf Preamble
3+
PGF preamble
44
============
5-
65
"""
76

87
import matplotlib as mpl

examples/userdemo/pgf_texsystem.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"""
22
=============
3-
Pgf Texsystem
3+
PGF texsystem
44
=============
5-
65
"""
76

87
import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)