docstr: Display what was filtered
docstr_tok: ["Display","what","was","filtered"]
code: def display(self, workspace, figure):
      """Display what was filtered"""
      src_name = self.x_name.value
      src_objects_segmented = (
          workspace.display_data.src_objects_segmented
      )
      target_objects_segmented = (
          workspace.display_data.target_objects_segmented
      )
      dimensions = workspace.display_data.dimensions
  
      target_name = self.y_name.value
  
      figure.set_subplots((2, 2), dimensions=dimensions)
  
      figure.subplot_imshow_labels(
          0, 0, src_objects_segmented, title="Original: %s" % src_name
      )
  
      figure.subplot_imshow_labels(
          1,
          0,
          target_objects_segmented,
          title="Filtered: %s" % target_name,
          sharexy=figure.subplot(0, 0),
      )
  
      pre = numpy.max(src_objects_segmented)
      post = numpy.max(target_objects_segmented)
  
      statistics = [[pre], [post], [pre - post]]
  
      figure.subplot_table(
          0,
          1,
          statistics,
          row_labels=(
              "Number of objects pre-filtering",
              "Number of objects post-filtering",
              "Number of objects removed",
          ),
      )
  
      if self.keep_removed_objects:
          removed_objects_segmented = (
              workspace.display_data.removed_objects_segmented
          )
          figure.subplot_imshow_labels(
              1,
              1,
              removed_objects_segmented,
              title="Removed: %s" % self.removed_objects_name,
              sharexy=figure.subplot(0, 0),
          )
  
imports: from cellprofiler_core.constants.measurement import M_LOCATION_CENTER_X, M_LOCATION_CENTER_Y, C_CHILDREN, C_PARENT, C_LOCATION, C_NUMBER, FTR_OBJECT_NUMBER, C_COUNT, FTR_CENTER_X, FTR_CENTER_Y, FTR_CENTER_Z
  from cellprofiler_core.module.image_segmentation import ObjectProcessing
  from cellprofiler_core.preferences import DEFAULT_INPUT_FOLDER_NAME, ABSOLUTE_FOLDER_NAME, DEFAULT_INPUT_SUBFOLDER_NAME, DEFAULT_OUTPUT_SUBFOLDER_NAME
  from cellprofiler_core.setting import Divider, HiddenCount, SettingsGroup, Measurement, Binary, ValidationError
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.do_something import DoSomething, RemoveSettingButton
  from cellprofiler_core.setting.subscriber import LabelSubscriber
  from cellprofiler_core.setting.text import Directory, Filename, Float, LabelName
  from cellprofiler.modules import _help
  import logging
  import os
  import numpy
  import scipy
  import scipy.ndimage
  import scipy.sparse
  import cellprofiler.gui.help
  import cellprofiler_core.object
  from cellprofiler.utilities.rules import Rules
label_desc: Use image node_id 13 for calling the FilterObjects obj's underlying member method code with example usage: obj.display(workspace, figure) without return types