auto_scale¶
- Subplot.auto_scale(*, maintain_aspect=None, zoom=0.8)¶
Auto-scale the camera w.r.t to the scene
- Parameters:
maintain_aspect (
None
or bool, defaultNone
) – Maintain the camera aspect ratio for all dimensions. IfNone
, the aspect is left unchanged. ifFalse
the camera is scaled to the bounding box of the current scene.zoom (float, default 0.8) – zoom value for the camera after auto-scaling, if zoom = 1.0 then the graphics in the scene will fill the entire canvas.