@@ -543,7 +543,7 @@ def _check_graphic_name_exists(self, name):
543
543
f"All graphics within a subplot or plot area must have a unique name."
544
544
)
545
545
546
- def center_graphic (self , graphic : Graphic , zoom : float = 1.35 ):
546
+ def center_graphic (self , graphic : Graphic , zoom : float = 1.0 ):
547
547
"""
548
548
Center the camera w.r.t. the passed graphic
549
549
@@ -552,7 +552,7 @@ def center_graphic(self, graphic: Graphic, zoom: float = 1.35):
552
552
graphic: Graphic
553
553
The graphic instance to center on
554
554
555
- zoom: float, default 1.3
555
+ zoom: float
556
556
zoom the camera after centering
557
557
558
558
"""
@@ -569,10 +569,11 @@ def center_scene(self, *, zoom: float = 1.0):
569
569
570
570
Parameters
571
571
----------
572
- zoom: float, default 1.3
572
+ zoom: float
573
573
apply a zoom after centering the scene
574
574
575
575
"""
576
+
576
577
if not len (self ._fpl_graphics_scene .children ) > 0 :
577
578
return
578
579
@@ -600,10 +601,11 @@ def auto_scale(
600
601
Maintain the camera aspect ratio for all dimensions. If ``None``, the aspect is left unchanged.
601
602
if ``False`` the camera is scaled to the bounding box of the current scene.
602
603
603
- zoom: float, default 0.8
604
- zoom value for the camera after auto-scaling, if zoom = 1.0 then the graphics
605
- in the scene will fill the entire canvas.
604
+ zoom: float
605
+ zoom value for the camera after auto-scaling
606
+
606
607
"""
608
+
607
609
if not len (self ._fpl_graphics_scene .children ) > 0 :
608
610
return
609
611
0 commit comments