code: def patch(
      name="hvplot",
      interactive="interactive",
      extension="bokeh",
      logo=False,
  ):
      from . import hvPlotTabular, post_patch
  
      try:
          import dask.dataframe as dd
      except:
          raise ImportError(
              "Could not patch plotting API onto dask. "
              "Dask could not be imported."
          )
      _patch_plot = lambda self: hvPlotTabular(self)
      _patch_plot.__doc__ = hvPlotTabular.__call__.__doc__
      plot_prop = property(_patch_plot)
      setattr(dd.DataFrame, name, plot_prop)
      setattr(dd.Series, name, plot_prop)
  
      _patch_interactive = lambda self: DaskInteractive(self)
      _patch_interactive.__doc__ = DaskInteractive.__call__.__doc__
      interactive_prop = property(_patch_interactive)
      setattr(dd.DataFrame, interactive, interactive_prop)
      setattr(dd.Series, interactive, interactive_prop)
  
      post_patch(extension, logo)
  
imports: import sys
  from .interactive import Interactive
label_desc: Use image node_id 1 for calling a global function with example usage: patch(name, interactive, extension, logo) without return types