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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy