matplotlib / 3.7 / _as_gen / matplotlib.axes.axes.add_line.html

matplotlib.axes.Axes.add_line

Axes.add_line(line)[source]

Add a Line2D to the Axes; return the line.

Examples using matplotlib.axes.Axes.add_line

Artist within an artist

Artist within an artist

Artist within an artist
Artist tests

Artist tests

Artist tests

© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.add_line.html