You are reading an old version of the documentation (v2.2.2). For the latest version see
https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.add_line.html
Version 2.2.2
Fork me on GitHub
Navigation
index
modules
|
next
|
previous
|
home
|
examples
|
tutorials
|
pyplot
|
docs
»
The Matplotlib API
»
Axes
class
»
Quick search
Related Topics
Documentation overview
The Matplotlib API
Axes
class
Previous:
matplotlib.axes.Axes.add_image
Next:
matplotlib.axes.Axes.add_patch
Show Page Source
matplotlib.axes.Axes.add_line
¶
Axes.
add_line
(
line
)
¶
Add a
Line2D
to the list of plot lines
Returns the line.