@@ -677,12 +677,10 @@ def suptitle(self, t, **kwargs):
677677 The font weight of the text. See `.Text.set_weight` for possible
678678 values.
679679
680-
681680 Returns
682681 -------
683- text
684- The `.Text` instance of the title.
685-
682+ text
683+ The `.Text` instance of the title.
686684
687685 Other Parameters
688686 ----------------
@@ -695,7 +693,6 @@ def suptitle(self, t, **kwargs):
695693 **kwargs
696694 Additional kwargs are :class:`matplotlib.text.Text` properties.
697695
698-
699696 Examples
700697 --------
701698 >>> fig.suptitle('This is the figure title', fontsize=12)
@@ -776,20 +773,20 @@ def figimage(self, X, xo=0, yo=0, alpha=None, norm=None, cmap=None,
776773 alpha : None or float
777774 The alpha blending value.
778775
779- norm : :class: `matplotlib.colors.Normalize`
776+ norm : `matplotlib.colors.Normalize`
780777 A :class:`.Normalize` instance to map the luminance to the
781778 interval [0, 1].
782779
783- cmap : str or :class: `matplotlib.colors.Colormap`
784- The colormap to use. Default: :rc:`image.cmap`.
780+ cmap : str or `matplotlib.colors.Colormap`, default: :rc:`image.cmap `
781+ The colormap to use.
785782
786783 vmin, vmax : scalar
787784 If *norm* is not given, these values set the data limits for the
788785 colormap.
789786
790- origin : {'upper', 'lower'}
787+ origin : {'upper', 'lower'}, default: :rc:`image.origin`
791788 Indicates where the [0, 0] index of the array is in the upper left
792- or lower left corner of the axes. Defaults to :rc:`image.origin`.
789+ or lower left corner of the axes.
793790
794791 resize : bool
795792 If *True*, resize the figure to match the given image size.
@@ -805,22 +802,21 @@ def figimage(self, X, xo=0, yo=0, alpha=None, norm=None, cmap=None,
805802
806803 Notes
807804 -----
808- figimage complements the axes image
809- (:meth:`~matplotlib.axes.Axes.imshow`) which will be resampled
810- to fit the current axes. If you want a resampled image to
811- fill the entire figure, you can define an
812- :class:`~matplotlib.axes.Axes` with extent [0, 0, 1, 1].
813-
805+ figimage complements the axes image (`~matplotlib.axes.Axes.imshow`)
806+ which will be resampled to fit the current axes. If you want
807+ a resampled image to fill the entire figure, you can define an
808+ `~matplotlib.axes.Axes` with extent [0, 0, 1, 1].
814809
815- Examples::
810+ Examples
811+ --------
812+ ::
816813
817814 f = plt.figure()
818815 nx = int(f.get_figwidth() * f.dpi)
819816 ny = int(f.get_figheight() * f.dpi)
820817 data = np.random.random((ny, nx))
821818 f.figimage(data)
822819 plt.show()
823-
824820 """
825821 if resize :
826822 dpi = self .get_dpi ()
@@ -2109,13 +2105,11 @@ def savefig(self, fname, *, transparent=None, **kwargs):
21092105
21102106 Whether the image should be stored as a progressive JPEG file.
21112107
2112- facecolor : color or None, optional
2113- The facecolor of the figure; if *None*, defaults to
2114- :rc:`savefig.facecolor`.
2108+ facecolor : color, default: :rc:`savefig.facecolor`
2109+ The facecolor of the figure.
21152110
2116- edgecolor : color or None, optional
2117- The edgecolor of the figure; if *None*, defaults to
2118- :rc:`savefig.edgecolor`
2111+ edgecolor : color, default: :rc:`savefig.edgecolor`
2112+ The edgecolor of the figure.
21192113
21202114 orientation : {'landscape', 'portrait'}
21212115 Currently only supported by the postscript backend.
0 commit comments