@@ -20,7 +20,7 @@ labeled, and the second argument should a list of string labels. If
2020len(args) is 0, it automatically generate the legend from label
2121properties of the child artists by calling
2222:meth: `~matplotlib.axes.Axes.get_legend_handles_labels ` method.
23- For example, *ax.legend() * is equivalaent to::
23+ For example, *ax.legend() * is equivalent to::
2424
2525 handles, labels = ax.get_legend_handles_labels()
2626 ax.legend(handles, labels)
@@ -53,7 +53,7 @@ used as text labels. If label attribute is empty string or starts with
5353 * Remember that some *pyplot * commands return artist not supported by
5454 legend, e.g., :func: `~matplotlib.pyplot.fill_between ` returns
5555 :class: `~matplotlib.collections.PolyCollection ` that is not
56- supported. Or some return mupltiple artists. For example,
56+ supported. Or some return multiple artists. For example,
5757 :func: `~matplotlib.pyplot.plot ` returns list of
5858 :class: `~matplotlib.lines.Line2D ` instances, and
5959 :func: `~matplotlib.pyplot.errorbar ` returns a length 3 tuple of
@@ -68,7 +68,8 @@ Adjusting the Order of Legend items
6868
6969When you want to customize the list of artists to be displayed in the
7070legend, or their order of appearance. There are a two options. First,
71- you can keep lists of artists and labels, and explicitly use these for the first two argument of the legend call.::
71+ you can keep lists of artists and labels, and explicitly use these for
72+ the first two argument of the legend call.::
7273
7374 p1, = plot([1,2,3])
7475 p2, = plot([3,2,1])
0 commit comments