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