note that enable_notebook must be called after inline