code: def mid_measure():
      with qml.queuing.AnnotatedQueue() as q:
          m0 = qml.measure(0)
          qml.Hadamard(1)
          qml.cond(m0, qml.PauliZ)(1)
  
      circuit = qml.tape.QuantumScript.from_queue(q)
      _ = tape_mpl(circuit)
      plt.savefig(folder / "mid_measure.png")
      plt.close()
  
file_path: pennylane/doc/_static/tape_mpl/tape_mpl_examples.py
imports: import pathlib
  import matplotlib.pyplot
  import pennylane
  from pennylane.drawer import tape_mpl, use_style
label_desc: Use image node_id 9 for calling a global function with example usage: mid_measure() without return types