pygsti.report.notebookcell
Defines the NotebookCell class
Module Contents
Classes
Struct representing either a code or markdown cell |
- class pygsti.report.notebookcell.NotebookCell(cell_type='code', source=None)
Bases:
object
Struct representing either a code or markdown cell
Parameters
- cell_typestr, optional
Tag for the cell: either ‘code’ or ‘markdown’
- sourcelist, optional
A list of strings that are the lines of code/markdown in the cell.
Build a notebook cell
Parameters
- cell_typestr, optional
tag for the cell: either ‘code’ or ‘markdown’
- sourcelist(str), optional
lines of code/markdown in the cell