code: def random_plot():
      start_year = 2020
      x = np.arange(start_year, start_year + 5)
      year_count = x.shape[0]
      plt_format = "-"
      fig = plt.figure()
      ax = fig.add_subplot(111)
      series = np.arange(0, year_count, dtype=float)
      series = series**2
      series += np.random.rand(year_count)
      ax.plot(x, series, plt_format)
      return fig
  
file_path: gradio/demo/clear_components/run.py
imports: import gradio
  from datetime import datetime
  import os
  import random
  import string
  import pandas
  import numpy
  import matplotlib.pyplot
label_desc: Use image node_id 1 for calling a global function with example usage: random_plot() and returns: fig