code: def display(component, **kwargs):
      
  
      disp_env = get_display_environment()
      if disp_env is None:
          raise LookupError('valid display environment could not be found')
  
      disp_env.display(component, **kwargs)
docs: Display the given component based on the environment it's run from.
      See :class:`DisplayEnvironment <cqparts.display.environment.DisplayEnvironment>`
      documentation for more details.
  
      :param component: component to display
      :type component: :class:`Component <cqparts.Component>`
  
      Additional parameters may be used by the chosen
      :class:`DisplayEnvironment <cqparts.display.environment.DisplayEnvironment>`