code: def show(obj, title=None, port=0, **kwargs):
      """
      Displays hvplot plots in and outside the notebook
  
      Parameters
      ----------
      obj : HoloViews/Panel object
          HoloViews/Panel object to show
      title : str
          A string title to give the Document (if served as an app)
      port: int (optional, default=0)
          Allows specifying a specific port
      **kwargs: dict
          Additional keyword arguments passed to Panel show method.
      Returns
      -------
      a panel.io.server.Server | panel.io.server.StoppableThread (if threaded=true)
      """
      if isinstance(obj, _hv.core.Dimensioned):
          return _pn.pane.HoloViews(obj).show(title, port, **kwargs)
      elif isinstance(obj, _pn.viewable.Viewable):
          return obj.show(title, port, **kwargs)
      else:
          raise ValueError(
              "%s type object not recognized and cannot be shown."
              % type(obj).__name__
          )
  
imports: import panel
  import param
  import holoviews
label_desc: Use image node_id 1 for calling a global function with example usage: show(obj, title, port) and returns: _pn, obj