code: def plot_frame():
      plt.title("Rosenbrock parameter convergence")
      plt.xlabel("Nelder-Mead solver iterations")
      plt.ylabel("parameter value")
      plt.draw()
      plt.pause(0.001)
      return
  
imports: from mystic.solvers import fmin
  from mystic.models import rosen
  from mystic.tools import getch
  import matplotlib.pyplot
label_desc: Use image node_id 1 for calling a global function with example usage: plot_frame() without return types