docstr: The settings that are visible in the UI
          
docstr_tok: ["The","settings","that","are","visible","in","the","UI"]
code: def visible_settings(self):
      """The settings that are visible in the UI"""
      result = [
          self.grid_image,
          self.grid_rows,
          self.grid_columns,
          self.origin,
          self.ordering,
          self.each_or_once,
          self.auto_or_manual,
      ]
      if self.auto_or_manual == AM_AUTOMATIC:
          result += [self.object_name, self.failed_grid_choice]
      elif self.auto_or_manual == AM_MANUAL:
          result += [self.manual_choice]
          if self.manual_choice == MAN_MOUSE:
              result += [self.manual_image]
          elif self.manual_choice == MAN_COORDINATES:
              result += [
                  self.first_spot_coordinates,
                  self.first_spot_row,
                  self.first_spot_col,
                  self.second_spot_coordinates,
                  self.second_spot_row,
                  self.second_spot_col,
              ]
          else:
              raise NotImplementedError(
                  "Unknown manual choice: %s" % self.manual_choice.value
              )
      else:
          raise NotImplementedError(
              "Unknown automatic / manual choice: %s"
              % self.auto_or_manual.value
          )
      result += [self.wants_image]
      if self.wants_image:
          result += [self.save_image_name]
      result += [self.display_image_name]
      return result
  
imports: import logging
  import centrosome.cpmorphology
  import numpy
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  from cellprofiler_core.constants.measurement import COLTYPE_INTEGER
  from cellprofiler_core.constants.measurement import IMAGE
  from cellprofiler_core.image import Image
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Binary
  from cellprofiler_core.setting import Coordinates
  from cellprofiler_core.setting import ValidationError
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.subscriber import ImageSubscriber
  from cellprofiler_core.setting.subscriber import LabelSubscriber
  from cellprofiler_core.setting.text import GridName
  from cellprofiler_core.setting.text import ImageName
  from cellprofiler_core.setting.text import Integer
  from cellprofiler_core.utilities.grid import Grid
label_desc: Use image node_id 3 for calling the DefineGrid obj's underlying member method code with example usage: obj.visible_settings() and returns: result