code: def patch(name="hvplot", extension="bokeh", logo=False):
      try:
          import intake
      except:
          raise ImportError(
              "Could not patch plotting API onto intake. "
              "intake could not be imported."
          )
  
      _patch_plot = lambda self: hvPlot(self)
      _patch_plot.__doc__ = hvPlot.__call__.__doc__
      patch_property = property(_patch_plot)
      setattr(intake.source.base.DataSource, name, patch_property)
      post_patch(extension, logo)
  
label_desc: Use image node_id 1 for calling a global function with example usage: patch(name, extension, logo) without return types