insert_graphic#
- Subplot.insert_graphic(graphic, center=True, index=0, auto_offset=None)#
Insert graphic into scene at given position
index
in stored graphics.- Parameters:
graphic (Graphic) – Add a Graphic to the plot area at a given position. Note: must be a real Graphic instance, not a weakref proxy to a Graphic
center (bool, default True) – Center the camera on the newly added Graphic
index (int, default 0) – Index to insert graphic.
auto_offset (bool, default True) – If True and using an orthographic projection, sets z-axis offset of graphic to index