def load_data(self, data_np):
        """
        Load raw numpy data into the viewer.
        """
        image = AstroImage.AstroImage(logger=self.logger)
        image.set_data(data_np)

        self.set_image(image)
def load_data ( self , data_np ) : image = AstroImage . AstroImage ( logger = self . logger ) image . set_data ( data_np ) self . set_image ( image )
Load raw numpy data into the viewer.