jupyter-notebook - RISE JupyterNotebook 演示文稿的配置
问题描述
from traitlets.config.manager import BaseJSONConfigManager
from pathlib import Path
path = Path.home() / ".jupyter" / "nbconfig"
cm = BaseJSONConfigManager(config_dir=str(path))
tmp = cm.update(
"rise",
{
"theme": "serif",
"transition": "fade",
"start_slideshow_at": "selected",
"autolaunch": True,
"width": "100%",
"height": "100%",
"header": "",
"footer":"",
"scroll": True,
"enable_chalkboard": True,
"slideNumber": True,
"center": False,
"controlsLayout": "edges",
"slideNumber": True,
"hash": True,
}
)
有谁知道在路径中填写/检索什么?因为当前代码不允许我更改幻灯片的配置。
谢谢!
解决方案
推荐阅读
- python - Python - 在一段时间后执行函数?
- oracle-adf - 不支持的连续查询通知查询
- python - 如何使用 VSCode 和管道命令进行调试
- nginx - nginx,提供具有身份验证的静态文件
- python - 从 predict_proba() 检索非零类概率
- python-3.x - 如何组合具有不同索引级别的两个数据框?
- python - 聊天室服务器在 SIGINT 时未关闭线程且未退出
- javascript - 如何找到第一次出现的两位数
- ios - 使用swift的IOS步骤菜单
- debugging - 是否有任何无需源代码即可工作的函数执行时间性能分析器?仅使用填充了 x86 程序集的 .EXE