Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d9e7699

Browse filesBrowse files
oscargusmeeseeksmachine
authored andcommitted
Backport PR #24927: DOC: Remove space after directive name, before double-colon
1 parent 7ba4978 commit d9e7699
Copy full SHA for d9e7699

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed

‎lib/matplotlib/image.py

Copy file name to clipboardExpand all lines: lib/matplotlib/image.py
+1-1Lines 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

Copy file name to clipboardExpand all lines: src/ft2font_wrapper.cpp
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.