Skip to content

Commit 95086b1

Browse files
authored
Merge pull request #24928 from meeseeksmachine/auto-backport-of-pr-24927-on-v3.7.x
Backport PR #24927 on branch v3.7.x (DOC: Remove space after directive name, before double-colon)
2 parents 7ba4978 + d9e7699 commit 95086b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/matplotlib/image.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1572,7 +1572,7 @@ def imsave(fname, arr, vmin=None, vmax=None, cmap=None, format=None,
15721572
RGB(A) images are passed through. Single channel images will be
15731573
colormapped according to *cmap* and *norm*.
15741574
1575-
.. note ::
1575+
.. note::
15761576
15771577
If you want to save a single channel image as gray scale please use an
15781578
image I/O library (such as pillow, tifffile, or imageio) directly.

src/ft2font_wrapper.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,11 @@ const char *PyFT2Font_init__doc__ =
325325
" Must be positive. Used to scale the hinting in the x-direction\n"
326326
"_fallback_list : list of FT2Font, optional\n"
327327
" A list of FT2Font objects used to find missing glyphs.\n\n"
328-
" .. warning ::\n"
328+
" .. warning::\n"
329329
" This API is both private and provisional: do not use it directly\n\n"
330330
"_kerning_factor : int, optional\n"
331331
" Used to adjust the degree of kerning.\n\n"
332-
" .. warning ::\n"
332+
" .. warning::\n"
333333
" This API is private: do not use it directly\n\n"
334334
"Attributes\n"
335335
"----------\n"

0 commit comments

Comments
 (0)