Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您可以配置 IPython Notebook 以在加载时显示 CellToolbar 吗?如果没有,是否可以在笔记本加载时进行 IPython JS API 调用以显示特定工具栏?我正在浏览 JS API,但似乎找不到。
在custom.js,在笔记本应用程序加载事件或笔记本加载事件上(取决于你想要的):
custom.js
// Replace "Default "By whichever preset you like. IPython.CellToolbar.activate_preset("Default"); IPython.CellToolbar.global_show();
这个 Api 既不稳定,也没有文档记录。