add_graphic¶
- LineCollection.add_graphic(graphic, reset_index)¶
Add a graphic to the collection.
- Parameters:
graphic (Graphic) – graphic to add, must be a real
Graphic
not a proxyreset_index (bool, default
False
) – reset the collection index