add_graphic#

ImageGrid.add_graphic(graphic)#

Add a graphic to the collection.

Parameters:

graphic (Graphic) – the graphic to add; must be of the collection’s _child_type and match the per-vertex or uniform buffer mode of the graphics already in the collection