Skip to content

Commit

Permalink
Merge pull request #24936 from meeseeksmachine/auto-backport-of-pr-24…
Browse files Browse the repository at this point in the history
…927-on-v3.6.x

Backport PR #24927 on branch v3.6.x (DOC: Remove space after directive name, before double-colon)
  • Loading branch information
QuLogic committed Jan 11, 2023
2 parents 65044a2 + 5348ee2 commit c8e25ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/matplotlib/image.py
Expand Up @@ -1552,7 +1552,7 @@ def imsave(fname, arr, vmin=None, vmax=None, cmap=None, format=None,
RGB(A) images are passed through. Single channel images will be
colormapped according to *cmap* and *norm*.
.. note ::
.. note::
If you want to save a single channel image as gray scale please use an
image I/O library (such as pillow, tifffile, or imageio) directly.
Expand Down
4 changes: 2 additions & 2 deletions src/ft2font_wrapper.cpp
Expand Up @@ -325,11 +325,11 @@ const char *PyFT2Font_init__doc__ =
" Must be positive. Used to scale the hinting in the x-direction\n"
"_fallback_list : list of FT2Font, optional\n"
" A list of FT2Font objects used to find missing glyphs.\n\n"
" .. warning ::\n"
" .. warning::\n"
" This API is both private and provisional: do not use it directly\n\n"
"_kerning_factor : int, optional\n"
" Used to adjust the degree of kerning.\n\n"
" .. warning ::\n"
" .. warning::\n"
" This API is private: do not use it directly\n\n"
"Attributes\n"
"----------\n"
Expand Down

0 comments on commit c8e25ef

Please sign in to comment.