def get_background(self): pallete_object = Pallete_generation() pallete_image = pallete_object.get_pallete_image( self.color_legend_width, self.shown_image_height) total_width = self.color_legend_width + self.spacing_width + self.shown_image_width white_background_object = White_background() white_background_image = white_background_object.get_black_background( total_width, self.shown_image_height) combined_background = self.combine_background(pallete_image, white_background_image) return combined_background
def __init__(self): self.pallete_object = Pallete_generation() self.pallete_numpy = self.pallete_object.get_pallete_numpy_array()