code: def test_pandas_example():
      pd.options.plotting.backend = "plotly"
      ts = pd.Series(
          np.random.randn(1000),
          index=pd.date_range("1/1/2000", periods=1000),
      )
      df = pd.DataFrame(
          np.random.randn(1000, 4), index=ts.index, columns=list("ABCD")
      )
      fig = df.iloc[5].plot.bar()
      assert len(fig.data) == 1
  
imports: import plotly.express
  import numpy
  import pandas
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_pandas_example() without return types