code: def labels_formatted(savefile="labels_formatted.png"):
      drawer = MPLDrawer(n_wires=2, n_layers=1)
      drawer.label(
          ["a", "b"],
          text_options={"color": "indigo", "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 2 for calling a global function with example usage: labels_formatted(savefile) without return types