首页 > 解决方案 > 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,
        }
    )

有谁知道在路径中填写/检索什么?因为当前代码不允许我更改幻灯片的配置。

谢谢!

标签: jupyter-notebookpresentationrise

解决方案


推荐阅读