docstr: Display one row of orig / illum / output per image setting group
docstr_tok: ["Display","one","row","of","orig","\/","illum","\/","output","per","image","setting","group"]
code: def display(self, workspace, figure):
      """Display one row of orig / illum / output per image setting group"""
      figure.set_subplots((3, len(self.images)))
      nametemplate = (
          "Illumination function:" if len(self.images) < 3 else "Illum:"
      )
      for j, image in enumerate(self.images):
          image_name = image.image_name.value
          illum_correct_function_image_name = (
              image.illum_correct_function_image_name.value
          )
          corrected_image_name = image.corrected_image_name.value
          orig_image = workspace.display_data.images[image_name]
          illum_image = workspace.display_data.images[
              illum_correct_function_image_name
          ]
          corrected_image = workspace.display_data.images[
              corrected_image_name
          ]
  
          def imshow(x, y, image, *args, **kwargs):
              if image.ndim == 2:
                  f = figure.subplot_imshow_grayscale
              else:
                  f = figure.subplot_imshow_color
              return f(x, y, image, *args, **kwargs)
  
          imshow(
              0,
              j,
              orig_image,
              "Original image: %s" % image_name,
              sharexy=figure.subplot(0, 0),
          )
          title = (
              f"{nametemplate} {illum_correct_function_image_name}, "
              f"min={illum_image.min():0.4f}, max={illum_image.max():0.4f}"
          )
  
          imshow(1, j, illum_image, title, sharexy=figure.subplot(0, 0))
          imshow(
              2,
              j,
              corrected_image,
              "Final image: %s" % corrected_image_name,
              sharexy=figure.subplot(0, 0),
          )
  
imports: import numpy
  from cellprofiler_core.image import Image
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Divider, Binary
  from cellprofiler_core.setting import SettingsGroup
  from cellprofiler_core.setting import ValidationError
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.do_something import DoSomething
  from cellprofiler_core.setting.do_something import RemoveSettingButton
  from cellprofiler_core.setting.subscriber import ImageSubscriber
  from cellprofiler_core.setting.text import ImageName
label_desc: Use image node_id 8 for calling the CorrectIlluminationApply obj's underlying member method code with example usage: obj.display(workspace, figure) and returns: f