def run(self, para = None): img = self.data() if img.dtype != np.uint8: img = img.astype(np.uint8) IPy.show_img([img], self.title)