add_graphic#

Subplot.add_graphic(graphic, center=True)#

Add a Graphic to the scene

Parameters:
  • graphic (Graphic or :ref:GraphicCollection) – Add a Graphic or a GraphicCollection to the plot area. Note: this must be a real Graphic instance and not a proxy

  • center (bool, default True) – Center the camera on the newly added Graphic