center_graphic¶

Subplot.center_graphic(graphic, zoom=1.35)¶

Center the camera w.r.t. the passed graphic

Parameters:
  • graphic (Graphic) – The graphic instance to center on

  • zoom (float, default 1.3) – zoom the camera after centering