(self, last_session=False, file_path=None, colour_override=None)
Render keyboard image.
Render keyboard image.
Render keyboard image .
def keyboard(self, last_session=False, file_path=None, colour_override=None):
        """Render keyboard image."""
        kb = DrawKeyboard(self.profile, self.data, last_session=last_session)
        
        image_output = kb.draw_image()

        if file_path is None:
            file_path = self.name.generate('Keyboard', reload=True)
            
        if self.save:
            save_image_to_folder(image_output, file_path)
def keyboard ( self , last_session = False , file_path = None , colour_override = None ) : kb = DrawKeyboard ( self . profile , self . data , last_session = last_session ) image_output = kb . draw_image ( ) if file_path is None : file_path = self . name . generate ( 'Keyboard' , reload = True ) if self . save : save_image_to_folder ( image_output , file_path )