code: def integration_formatted(savefile="example_formatted.png"):
      wire_options = {"color": "indigo", "linewidth": 4}
      drawer = MPLDrawer(
          n_wires=2, n_layers=4, wire_options=wire_options
      )
  
      label_options = {"fontsize": "x-large", "color": "indigo"}
      drawer.label(["0", "a"], text_options=label_options)
  
      box_options = {
          "facecolor": "lightcoral",
          "edgecolor": "maroon",
          "linewidth": 5,
      }
      text_options = {"fontsize": "xx-large", "color": "maroon"}
      drawer.box_gate(
          layer=0,
          wires=0,
          text="Z",
          box_options=box_options,
          text_options=text_options,
      )
  
      swap_options = {"linewidth": 4, "color": "darkgreen"}
      drawer.SWAP(layer=1, wires=(0, 1), options=swap_options)
  
      ctrl_options = {"linewidth": 4, "color": "teal"}
      drawer.CNOT(layer=2, wires=(0, 1), options=ctrl_options)
      drawer.ctrl(layer=3, wires=(0, 1), options=ctrl_options)
  
      measure_box = {"facecolor": "white", "edgecolor": "indigo"}
      measure_lines = {
          "edgecolor": "indigo",
          "facecolor": "plum",
          "linewidth": 2,
      }
      for wire in range(2):
          drawer.measure(
              layer=4,
              wires=wire,
              box_options=measure_box,
              lines_options=measure_lines,
          )
  
      drawer.fig.suptitle("My Circuit", fontsize="xx-large")
  
      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 13 for calling a global function with example usage: integration_formatted(savefile) without return types