code: def SWAP(savefile="SWAP.png"):
      drawer = MPLDrawer(n_wires=2, n_layers=2)
  
      drawer.SWAP(0, (0, 1))
  
      swap_options = {"linewidth": 2, "color": "indigo"}
      drawer.SWAP(1, (0, 1), options=swap_options)
  
      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 9 for calling a global function with example usage: SWAP(savefile) without return types