@@ -352,7 +352,7 @@ def legend(self, *args, **kwargs):
352352
353353 Notes
354354 -----
355- Not all kinds of artist are supported by the legend command. See
355+ Some artists are not supported by this function. See
356356 :doc:`/tutorials/intermediate/legend_guide` for details.
357357
358358 Examples
@@ -927,13 +927,11 @@ def axhspan(self, ymin, ymax, xmin=0, xmax=1, **kwargs):
927927 """
928928 Add a horizontal span (rectangle) across the axis.
929929
930- Draw a horizontal span (rectangle) from *ymin* to *ymax*.
931- With the default values of *xmin* = 0 and *xmax* = 1, this
932- always spans the xrange, regardless of the xlim settings, even
933- if you change them, e.g., with the :meth:`set_xlim` command.
934- That is, the horizontal extent is in axes coords: 0=left,
935- 0.5=middle, 1.0=right but the *y* location is in data
936- coordinates.
930+ The rectangle spans from *ymin* to *ymax* vertically, and, by default,
931+ the whole x-axis horizontally. The x-span can be set using *xmin*
932+ (default: 0) and *xmax* (default: 1) which are in axis units; e.g.
933+ ``xmin = 0.5`` always refers to the middle of the x-axis regardless of
934+ the limits set by `~.Axes.set_xlim`.
937935
938936 Parameters
939937 ----------
@@ -981,12 +979,11 @@ def axvspan(self, xmin, xmax, ymin=0, ymax=1, **kwargs):
981979 """
982980 Add a vertical span (rectangle) across the axes.
983981
984- Draw a vertical span (rectangle) from *xmin* to *xmax*. With
985- the default values of *ymin* = 0 and *ymax* = 1. This always
986- spans the yrange, regardless of the ylim settings, even if you
987- change them, e.g., with the :meth:`set_ylim` command. That is,
988- the vertical extent is in axes coords: 0=bottom, 0.5=middle,
989- 1.0=top but the x location is in data coordinates.
982+ The rectangle spans from *xmin* to *xmax* horizontally, and, by
983+ default, the whole y-axis vertically. The y-span can be set using
984+ *ymin* (default: 0) and *ymax* (default: 1) which are in axis units;
985+ e.g. ``ymin = 0.5`` always refers to the middle of the y-axis
986+ regardless of the limits set by `~.Axes.set_ylim`.
990987
991988 Parameters
992989 ----------
@@ -1535,7 +1532,7 @@ def plot(self, *args, scalex=True, scaley=True, data=None, **kwargs):
15351532 >>> plot([1, 2, 3], [1, 2, 3], 'go-', label='line 1', linewidth=2)
15361533 >>> plot([1, 2, 3], [1, 4, 9], 'rs', label='line 2')
15371534
1538- If you make multiple lines with one plot command , the kwargs
1535+ If you make multiple lines with one plot call , the kwargs
15391536 apply to all those lines.
15401537
15411538 Here is a list of available `.Line2D` properties:
@@ -3119,9 +3116,9 @@ def errorbar(self, x, y, yerr=None, xerr=None,
31193116 Other Parameters
31203117 ----------------
31213118 **kwargs
3122- All other keyword arguments are passed on to the plot
3123- command for the markers. For example, this code makes big red
3124- squares with thick green edges::
3119+ All other keyword arguments are passed on to the `~.Axes. plot` call
3120+ drawing the markers. For example, this code makes big red squares
3121+ with thick green edges::
31253122
31263123 x, y, yerr = rand(3, 10)
31273124 errorbar(x, y, yerr, marker='s', mfc='red',
@@ -6455,7 +6452,7 @@ def hist(self, x, bins=None, range=None, density=False, weights=None,
64556452 label : str or None, optional, default: None
64566453 String, or sequence of strings to match multiple datasets. Bar
64576454 charts yield multiple patches per dataset, but only the first gets
6458- the label, so that the legend command will work as expected.
6455+ the label, so that `~.Axes. legend` will work as expected.
64596456
64606457 stacked : bool, optional, default:False
64616458 If ``True``, multiple data are stacked on top of each other If
0 commit comments