code: def make_nb(config, path=None, stop_on_error=True, just_tests=False):
      
      root, nb_name = nb_name_from_path(config, path)
      clean = lambda varStr: re.sub('\W|^(?=\d)', '_', varStr)
      name = clean(nb_name)
  
      mpl_style = config.get('misc', 'matplotlib', fallback='inline')
      cells = [new_markdown_cell('## Sciunit Testing Notebook for %s' % nb_name)]
      add_code_cell(cells, (
          "%%matplotlib %s\n"
          "from IPython.display import display\n"
          "from importlib.machinery import SourceFileLoader\n"
          "%s = SourceFileLoader('scidash', '%s/__init__.py').load_module()") %
          (mpl_style, name, root))
      if just_tests:
          add_code_cell(cells, (
              "for test in %s.tests.tests:\n"
              "  score_array = test.judge(%s.models.models, stop_on_error=%r)\n"
              "  display(score_array)") % (name, name, stop_on_error))
      else:
          add_code_cell(cells, (
              "for suite in %s.suites.suites:\n"
              "  score_matrix = suite.judge("
              "%s.models.models, stop_on_error=%r)\n"
              "  display(score_matrix)") % (name, name, stop_on_error))
      write_nb(root, nb_name, cells)
docs: Create a Jupyter notebook sciunit tests for the given configuration.