modeljupytermagic module

This module defines several magic jupyter functions:

graphviz:

Draw Graphviz graph

dataframe:

Create Pandas Dataframe

latexflow:

Create a modelflow modelinstance from latex script

he doc strings can only be displayed when the module is used from Jupyter. So they are not shown in the Sphinx documentation To display the doc strings use the functions in jupyter.

modeljupytermagic.get_options(line, defaultname='test')[source]

Retrives options from the first line

Parameters:
  • line (TYPE) – DESCRIPTION.

  • defaultname (TYPE, optional) – DESCRIPTION. Defaults to ‘test’.

Returns:

name . opt (dict): options.

Return type:

name (string)