mantidimaging.gui.widgets.palette_changer.presenter module#

class mantidimaging.gui.widgets.palette_changer.presenter.PaletteChangerPresenter(view, other_hists: list[HistogramLUTItem], main_hist: HistogramLUTItem, image: np.ndarray, recon_mode: bool)[source]#

Bases: BasePresenter

change_colour_palette()[source]#

Change the colour palette and add ticks based on the output of the Jenks or Otsu algorithms.

notify(signal)[source]#