Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport PR #24927 on branch v3.6.x (DOC: Remove space after directive name, before double-colon) #24936

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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