class_docstr: This is the matplotlib based GUI for a single analysis
  It assumes the analysis is simple image data (this could be abstracted)
class_docstr_tok: ["This","is","the","matplotlib","based","GUI","for","a","single","analysis","It","assumes","the","analysis","is","simple","image","data","(","this","could","be","abstracted",")"]
docstr: Set a background image from a numpy array
  
  Args:
      back_image (numpy.ndarray): the image rendered as background
docstr_tok: ["Set","a","background","image","from","a","numpy","array","Args",":","back_image","(","numpy.ndarray",")",":","the","image","rendered","as","background"]
code: def set_background(self, back_image):
      """Set a background image from a numpy array
  
      Args:
          back_image (numpy.ndarray): the image rendered as background
      """
      self.background = back_image
      self.back_blend = Image.blend(
          self.black_back, self.background, self.blend
      )
      self.set_image_index(self.index)
  
imports: import os
  from pathlib import Path
  import numpy
  import matplotlib.pyplot
  import matplotlib.style
  from matplotlib.backends.backend_qt5agg import FigureCanvas
  from matplotlib.figure import Figure
  from PyQt5.QtWidgets import QVBoxLayout, QWidget, QLabel, QSpinBox, QFormLayout, QPushButton, QFileDialog, QSlider
  from PyQt5.QtCore import pyqtSlot, Qt
  from PIL import Image
label_desc: Use image node_id 3 for calling the HyperspectralImageCanvas obj's underlying member method code with example usage: obj.set_background(back_image) without return types