2.5. Notebook¶
Overview¶
The Matmodlab.Notebook
- is an IPython Notebook environment;
- requires the
ipythonandipython-notebookmodules; - requires the matplotlib and/or Bokeh modules for data visualization; and
- allows interactive material model development.
The full power of the Matmodlab.Notebook is realized by interactive data visualization using Bokeh, which is a recommended install.
The Matmodlab.Notebook Environment¶
The Matmodlab.Notebook environment is invoked by launching the IPython Notebook through the mml procedure:
$ mml notebook
After launching the notebook server and starting a new notebook, the following IPython magic should be executed in the notebook’s first cell:
%matmodlab
If Bokeh is installed, the MaterialPointSimulator’s plotting methods use Bokeh for data visualization. Otherwise, matplotlib is used as the plotting backend. Matplotlib can be explicitly used as the plotting backend by specifying:
%matmodlab matplotlib
Todo
Finish this section