code: def create_plot():
      try:
          import pandas as pd
      except Exception:
          from unittest import SkipTest
  
          raise SkipTest("pandas not installed")
      df2_index = pd.date_range(
          start="2010-01-01", periods=100, freq="D"
      )
      df2 = pd.DataFrame({"a": range(100)}, index=df2_index)
      ax = df2.plot(title="Datetime DF")  # noqa
      return plt.gcf()
  
imports: import matplotlib.pyplot
  import numpy
  import mpld3
label_desc: Use image node_id 1 for calling a global function with example usage: create_plot() and returns: plt