是否可以通过javascript扩展修改Jupyter笔记本配置?

时间:2019-04-24 10:54:46

标签: javascript jupyter-notebook

我正在为Jupyter笔记本开发Javascript扩展,并在使用python读取文本文件时收到以下错误:

IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_data_rate_limit`.

Current values:
NotebookApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
NotebookApp.rate_limit_window=3.0 (secs)

建议的解决方案是将命令行参数传递给jupyter Notebook可执行文件或创建配置文件以适应设置iopub_data_rate_limit

How to set NotebookApp.iopub_data_rate_limit and others NotebookApp settings in JupyterHub?

我希望改用Javascript中的设置。

=>有可能吗?

我能够使用JavaScript获取笔记本的句柄

var notebook = Jupyter.notebook;

但是,我尚未找到NotebookApp来设置属性iopub_data_rate_limit

相关问题:

Where is a docs for Jupyter front-end extensions JavaScript API?

0 个答案:

没有答案
相关问题