Currently FRETBursts is usually imported in a notebook through an helper script (load_fretbursts.py) that also performs some notebook-specific initialization and imports.
Any notebook-specific initialization should be done in a ad-hoc function like init_notebook().
Advantages:
Allows importing FRETBursts from system installation and still add the notebook customizations
Allows switching between different notebook backends for the figure: matplotlib inline, nbagg, mplotd3, etc...
Currently FRETBursts is usually imported in a notebook through an helper script (
load_fretbursts.py
) that also performs some notebook-specific initialization and imports.Any notebook-specific initialization should be done in a ad-hoc function like
init_notebook()
.Advantages: