docs: def launch_notebook(argv=None):
      """
      Launch a Jupyter Notebook, with custom Untitled filenames and
      a prepopulated first cell with necessary boilerplate code.
  
      Notes
      -----
      To populate the first cell, the function `new_notebook` imported
      in notebook.services.contents needs to be monkey patched. Dirty
      but functional. Same thing could be achieved with custom.js or
      a ContentsManager subclass, but this is easier!
      """
      try:
          import nbformat.v4 as nbf
          from notebook.notebookapp import NotebookApp
          from notebook.services.contents import manager
          from traitlets.config import Config
      except ImportError:
          sys.exit("ERROR: Jupyter Notebook not installed in this environment. "
                   "Try with `conda install ipython jupyter notebook`")
      else:
          nbf._original_new_notebook = nbf.new_notebook
          def _prepopulate_nb_patch():
              nb = nbf._original_new_notebook()
              cell = nbf.new_code_cell("# Run this cell to complete Chimera initialization\n"
                                       "from pychimera import enable_chimera, enable_chimera_inline, chimera_view\n"
                                       "enable_chimera()\nenable_chimera_inline()\nimport chimera")
              nb['cells'].append(cell)
              return nb
          manager.new_notebook = _prepopulate_nb_patch
          app = NotebookApp()
          c = Config()
          c.FileContentsManager.untitled_notebook = "Untitled PyChimera Notebook"
          app.update_config(c)
          app.initialize(argv)
          app.start()