code: def measure(savefile="measure.png"):
      drawer = MPLDrawer(n_wires=2, n_layers=1)
      drawer.measure(layer=0, wires=0)
  
      measure_box = {"facecolor": "white", "edgecolor": "indigo"}
      measure_lines = {
          "edgecolor": "indigo",
          "facecolor": "plum",
          "linewidth": 2,
      }
      drawer.measure(
          layer=0,
          wires=1,
          box_options=measure_box,
          lines_options=measure_lines,
      )
  
      plt.savefig(folder / savefile)
      plt.close()
  
file_path: pennylane/doc/_static/drawer/mpldrawer_examples.py
imports: import pathlib
  import matplotlib.pyplot
  from pennylane.drawer import MPLDrawer
  from pennylane.drawer.style import _set_style
label_desc: Use image node_id 10 for calling a global function with example usage: measure(savefile) without return types