code: def test_explorer_code_dataframe():
      explorer = hvplot.explorer(df, x="bill_length_mm", kind="points")
      assert explorer.code == dedent(
          """\
          df.hvplot(
              kind='points',
              x='bill_length_mm',
              y='species',
              legend='bottom_right',
              widget_location='bottom',
          )"""
      )
      assert explorer._code_pane.object == dedent(
          """\
          ```python
          df.hvplot(
              kind='points',
              x='bill_length_mm',
              y='species',
              legend='bottom_right',
              widget_location='bottom',
          )
          ```"""
      )
  
imports: import re
  from textwrap import dedent
  import holoviews
  import pandas
  import hvplot.pandas
  import hvplot.xarray
  import xarray
  import pytest
  from bokeh.sampledata import penguins
  from hvplot.ui import hvDataFrameExplorer, hvGridExplorer
label_desc: Use image node_id 21 for calling a global function with example usage: test_explorer_code_dataframe() without return types