gym_warehouse/envs/warehouse_env.py
def render(self, mode='human', sec_per_frame=0.5):
        """
        Renders the environment in the desired mode.

        Parameters
        ----------
        mode : str
            Currently, only 'human' is supported, which will render using
            pygame.
        """
        if mode == 'human':
            if self.renderer is None:
                self.renderer = WarehouseRenderer(self)
            self.renderer.render()
            time.sleep(sec_per_frame)
        else:
            super().render(mode=mode)

        Renders the environment in the desired mode.

        Parameters
        ----------
        mode : str
            Currently, only 'human' is supported, which will render using
            pygame.
        
Renders the environment in the desired mode.
Parameters

mode : str
Currently, only 'human' is supported, which will render using
pygame.
Renders the environment in the desired mode . Parameters mode : str Currently only ' human ' is supported which will render using pygame .
def render(self, mode='human', sec_per_frame=0.5):
        if mode == 'human':
            if self.renderer is None:
                self.renderer = WarehouseRenderer(self)
            self.renderer.render()
            time.sleep(sec_per_frame)
        else:
            super().render(mode=mode)
def render ( self , mode = 'human' , sec_per_frame = 0.5 ) : if mode == 'human' : if self . renderer is None : self . renderer = WarehouseRenderer ( self ) self . renderer . render ( ) time . sleep ( sec_per_frame ) else : super ( ) . render ( mode = mode )
Renders the environment in the desired mode.
Renders the environment in the desired mode .
"""
        Renders the environment in the desired mode.

        Parameters
        ----------
        mode : str
            Currently, only 'human' is supported, which will render using
            pygame.
        """
self
mode
sec_per_frame