code: def write(self):
      nb = new_notebook(
          cells=self.cells,
          metadata={
              "language": "python",
          },
      )
      with codecs.open(self.filename, encoding="utf-8", mode="w") as f:
          utils.debug_log(
              "Notebook created", path.realpath(f.name), verbosity=0
          )
          nbformat.write(nb, f, 4)
  
file_path: tensorwatch/tensorwatch/notebook_maker.py
imports: import nbformat
  from nbformat.v4 import new_code_cell, new_markdown_cell, new_notebook
  from nbformat import v3, v4
  import codecs
  from os import linesep, path
  import uuid
  from .None import utils
  import re
  from typing import List
  from .lv_types import VisArgs
label_desc: Use image node_id 8 for calling the NotebookMaker obj's underlying member method code with example usage: obj.write() without return types