Long-Running CellsΒΆ

By default, nbconvert will give a cell 30 seconds to execute before it times out.

If you would like to change the amount of time given for a cell, you have three options:

  1. Manually execute the notebook in question and save the results, see the pre-executed example notebook.

  2. Change the timeout length for all notebooks by setting this option in conf.py:

    nbsphinx_timeout = 60  # Time in seconds; use -1 for no timeout
    
  3. Change the timeout length on a per-notebook basis by adding this to the notebook’s JSON metadata:

    "nbsphinx": {
      "timeout": 60
    }