code: def plot(runhistory: RunHistory, incumbent: Configuration) -> None:
      plt.figure()
  
      # Plot ground truth
      x = list(np.linspace(-5, 5, 100))
      y = [xi * xi for xi in x]
      plt.plot(x, y)
  
      # Plot all trials
      for k, v in runhistory.items():
          config = runhistory.get_config(k.config_id)
          x = config["x"]
          y = v.cost  # type: ignore
          plt.scatter(
              x, y, c="blue", alpha=0.1, zorder=9999, marker="o"
          )
  
      # Plot incumbent
      plt.scatter(
          incumbent["x"],
          incumbent["x"] * incumbent["x"],
          c="red",
          zorder=10000,
          marker="x",
      )
  
      plt.show()
  
file_path: SMAC3/examples/1_basics/1_quadratic_function.py
imports: import numpy
  from ConfigSpace import Configuration, ConfigurationSpace, Float
  from matplotlib import pyplot
  from smac import HyperparameterOptimizationFacade
  from smac import RunHistory, Scenario
label_desc: Use image node_id 1 for calling a global function with example usage: plot(runhistory, incumbent) without return types