code: def plot1DGrid(scores, paramsToPlot, scoreLabel, vrange):
      """
      Makes a line plot of scores, over the parameter to plot
      :param scores: A list of scores, estimated using scoreModels
      :param paramsToPlot: The parameter to plot, chosen automatically by plotScores
      :param scoreLabel: The specified score label (dependent on scoring metric used)
      :param vrange: The yrange of the plot
      """
      key = list(paramsToPlot.keys())
      plt.figure(
          figsize=(int(round(len(paramsToPlot[key[0]]) / 1.33)), 6)
      )
      plt.plot(
          np.linspace(0, len(paramsToPlot[key[0]]), len(scores)),
          scores,
          "-or",
      )
      plt.xlabel(key[0])
      plt.xticks(
          np.linspace(0, len(paramsToPlot[key[0]]), len(scores)),
          paramsToPlot[key[0]],
      )
      if scoreLabel is not None:
          plt.ylabel(scoreLabel)
      else:
          plt.ylabel("Score")
      if vrange is not None:
          plt.ylim(vrange[0], vrange[1])
      plt.box(on=False)
      plt.show()
  
imports: import matplotlib.pyplot
  import matplotlib.colorbar
  import numpy
  import warnings
label_desc: Use image node_id 1 for calling a global function with example usage: plot1DGrid(scores, paramsToPlot, scoreLabel, vrange) without return types