diff --git a/lib/matplotlib/image.py b/lib/matplotlib/image.py index 8b113cacdd0c..ba495f8e3f1a 100644 --- a/lib/matplotlib/image.py +++ b/lib/matplotlib/image.py @@ -1572,7 +1572,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. diff --git a/src/ft2font_wrapper.cpp b/src/ft2font_wrapper.cpp index 8685e6484db0..8b415bf3efdb 100644 --- a/src/ft2font_wrapper.cpp +++ b/src/ft2font_wrapper.cpp @@ -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"
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: