(self, constrain_ratio=False,)
Initialize the scene.
Initialize the scene.
Initialize the scene .
def __init__(self, constrain_ratio=False,):
        """Initialize the scene."""
        
        # options
        self.constrain_ratio = constrain_ratio
        
        # create an empty scene
        self.scene = {'visuals': [], 'renderer_options': {}}
        self.visual_objects = {}
def __init__ ( self , constrain_ratio = False , ) : # options self . constrain_ratio = constrain_ratio # create an empty scene self . scene = { 'visuals' : [ ] , 'renderer_options' : { } } self . visual_objects = { }