diff --git a/examples/axes_grid1/parasite_simple2.py b/examples/axes_grid1/parasite_simple2.py
index 643a722cd7a1..1ab516f0156d 100644
--- a/examples/axes_grid1/parasite_simple2.py
+++ b/examples/axes_grid1/parasite_simple2.py
@@ -30,7 +30,7 @@
ax_kms.axis["bottom"].set_label("Linear velocity at 2.3 kpc [km/s]")
ax_kms.axis["left"].set_label("FWHM [km/s]")
-ax_pm.axis["top"].set_label("Proper Motion [$^{''}$/yr]")
+ax_pm.axis["top"].set_label(r"Proper Motion [$''$/yr]")
ax_pm.axis["top"].label.set_visible(True)
ax_pm.axis["right"].major_ticklabels.set_visible(False)
diff --git a/lib/matplotlib/_cm.py b/lib/matplotlib/_cm.py
index 7624b8a88bab..fbc3dd9d8131 100644
--- a/lib/matplotlib/_cm.py
+++ b/lib/matplotlib/_cm.py
@@ -1751,7 +1751,7 @@ def gfunc32(x):
# This bipolar color map was generated from CoolWarmFloat33.csv of
# "Diverging Color Maps for Scientific Visualization" by Kenneth Moreland.
-#
+#
_coolwarm_data = {
'red': [
(0.0, 0.2298057, 0.2298057),
diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py
index 5aedc396e9c2..23feaf7f57be 100644
--- a/lib/matplotlib/pyplot.py
+++ b/lib/matplotlib/pyplot.py
@@ -2058,8 +2058,7 @@ def colormaps():
`_
.. [#] See `Diverging Color Maps for Scientific Visualization
- `_ by Kenneth
- Moreland.
+ `_ by Kenneth Moreland.
.. [#] See `A Color Map for Effective Black-and-White Rendering of
Color-Scale Images