code: def display(self, workspace, figure):
      pixel_data = workspace.display_data.pixel_data
  
      dimensions = workspace.display_data.dimensions
  
      cmap = None if self.image_mode == "Color" else "gray"
  
      figure.set_subplots((2, 1), dimensions=dimensions)
  
      # TODO: volumetric IJV
      if dimensions == 2:
          figure.subplot_imshow_ijv(
              0,
              0,
              workspace.display_data.ijv,
              shape=workspace.display_data.pixel_data.shape[:2],
              title="Original: %s" % self.object_name.value,
          )
      else:
          figure.subplot_imshow_labels(
              0,
              0,
              workspace.display_data.segmented,
              title="Original: %s" % self.object_name.value,
          )
  
      figure.subplot_imshow(
          1,
          0,
          pixel_data,
          self.image_name.value,
          colormap=cmap,
          sharexy=figure.subplot(0, 0),
      )
  
file_path: CellProfiler/src/frontend/cellprofiler/modules/convertobjectstoimage.py
imports: import centrosome.cpmorphology
  import matplotlib.cm
  import numpy
  from cellprofiler_core.image import Image
  from cellprofiler_core.module import Module
  from cellprofiler_core.preferences import get_default_colormap
  from cellprofiler_core.setting.choice import Choice, Colormap
  from cellprofiler_core.setting.subscriber import LabelSubscriber
  from cellprofiler_core.setting.text import ImageName
label_desc: Use image node_id 5 for calling the ConvertObjectsToImage obj's underlying member method code with example usage: obj.display(workspace, figure) without return types