code: def random_plot():
      start_year = 2020
      x = np.arange(start_year, start_year + random.randint(0, 10))
      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
  
imports: import numpy
  import matplotlib.pyplot
  import random
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: random_plot() and returns: fig