insert_graphicΒΆ
- Subplot.insert_graphic(graphic, center=True, index=0, z_position=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.
z_position (int, default None) β z axis position to place Graphic. If
None
, uses value of index argument