matplotlib / 3.6 / _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
Reference for Matplotlib artists

Reference for Matplotlib artists

Reference for Matplotlib artists
Artist tests

Artist tests

Artist tests

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