The list of cells in the notebook.
A signal emitted when the document content changes.
The cell model factory for the notebook.
The default kernel language of the document.
The default kernel name of the document.
The array of deleted cells since the notebook was last run.
The dirty state of the model.
This should be cleared when the document is loaded from or saved to disk.
Test whether the object has been disposed.
This property is always safe to access.
The metadata associated with the notebook.
The underlying IModelDB
instance in which model
data is stored.
Making direct edits to the values stored in theIModelDB
is not recommended, and may produce unpredictable results.
The major version number of the nbformat.
The minor version number of the nbformat.
The read-only state of the model.
A signal emitted when the model state changes.
Dispose of the resources held by the object.
If the object's dispose
method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
Deserialize the model from JSON.
Should emit a [contentChanged] signal.
Deserialize the model from a string.
Should emit a [contentChanged] signal.
Initialize model state after initial data load.
This function must be called after the initial data is loaded to set up initial model state, such as an initial undo stack, etc.
Serialize the model to JSON.
Serialize the model to a string.
Generated using TypeDoc
The definition of a model object for a notebook widget.