@@ -4433,44 +4433,44 @@ def legend(self, *args, **kwargs):
44334433
44344434 Call signature::
44354435
4436- legend(*args, **kwargs)
4436+ legend(*args, **kwargs)
44374437
44384438 Places legend at location *loc*. Labels are a sequence of
44394439 strings and *loc* can be a string or an integer specifying the
44404440 legend location.
44414441
44424442 To make a legend with existing lines::
44434443
4444- legend()
4444+ legend()
44454445
44464446 :meth:`legend` by itself will try and build a legend using the label
44474447 property of the lines/patches/collections. You can set the label of
44484448 a line by doing::
44494449
4450- plot(x, y, label='my data')
4450+ plot(x, y, label='my data')
44514451
44524452 or::
44534453
4454- line.set_label('my data').
4454+ line.set_label('my data').
44554455
44564456 If label is set to '_nolegend_', the item will not be shown in
44574457 legend.
44584458
44594459 To automatically generate the legend from labels::
44604460
4461- legend( ('label1', 'label2', 'label3') )
4461+ legend( ('label1', 'label2', 'label3') )
44624462
44634463 To make a legend for a list of lines and labels::
44644464
4465- legend( (line1, line2, line3), ('label1', 'label2', 'label3') )
4465+ legend( (line1, line2, line3), ('label1', 'label2', 'label3') )
44664466
44674467 To make a legend at a given location, using a location argument::
44684468
4469- legend( ('label1', 'label2', 'label3'), loc='upper left')
4469+ legend( ('label1', 'label2', 'label3'), loc='upper left')
44704470
44714471 or::
44724472
4473- legend( (line1, line2, line3), ('label1', 'label2', 'label3'), loc=2)
4473+ legend( (line1, line2, line3), ('label1', 'label2', 'label3'), loc=2)
44744474
44754475 The location codes are
44764476
@@ -4496,7 +4496,7 @@ def legend(self, *args, **kwargs):
44964496 of BboxBase(or its derivatives) or a tuple of 2 or 4 floats.
44974497 For example,
44984498
4499- loc = 'upper right', bbox_to_anchor = (0.5, 0.5)
4499+ loc = 'upper right', bbox_to_anchor = (0.5, 0.5)
45004500
45014501 will place the legend so that the upper right corner of the legend at
45024502 the center of the axes.
@@ -7072,6 +7072,7 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
70727072 **Example:**
70737073
70747074 .. plot:: mpl_examples/pylab_examples/image_demo.py
7075+
70757076 """
70767077
70777078 if not self ._hold : self .cla ()
0 commit comments