code: def box_gates_formatted(savefile="box_gates_formatted.png"):
      box_options = {
          "facecolor": "lightcoral",
          "edgecolor": "maroon",
          "linewidth": 5,
      }
      text_options = {"fontsize": "xx-large", "color": "maroon"}
  
      drawer = MPLDrawer(n_wires=2, n_layers=1)
  
      drawer.box_gate(
          layer=0,
          wires=(0, 1),
          text="CY",
          box_options=box_options,
          text_options=text_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 4 for calling a global function with example usage: box_gates_formatted(savefile) without return types