Skip to content

Commit 143febf

Browse files
committed
Add multiple label support to plot() docstring
1 parent 4288379 commit 143febf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,6 +1499,8 @@ def plot(self, *args, scalex=True, scaley=True, data=None, **kwargs):
14991499
15001500
If you make multiple lines with one plot call, the kwargs
15011501
apply to all those lines.
1502+
In case if label object is iterable, each its element is
1503+
used as label for a separate line.
15021504
15031505
Here is a list of available `.Line2D` properties:
15041506

0 commit comments

Comments
 (0)