You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Sphinx/Read the Docs不再显示文档中Jupyter Notebook的Matplotlib图表求助

Sphinx/Read the Docs不再显示文档中Jupyter Notebook的Matplotlib图表求助

大家好,我遇到一个棘手的问题,想请各位帮忙看看:

我维护着一个小型库,它的文档由.rst文件和Jupyter Notebook文件混合构成。之前我一直用nbsphinx来编译这些Notebook,Matplotlib生成的图表都能正常显示,但最近换了电脑之后,图表突然不显示了。

我尝试在nbsphinx的相关仓库提交了issue,但至今没有收到回复。为了排查环境问题,我运行了以下命令:

python -c "import sys; print('\n',sys.version); import ipympl; print('ipympl version:', ipympl.__version__)" && jupyter --version && jupyter nbextension list && jupyter labextension list

得到的输出结果如下:

ipympl version: 0.9.3
Selected Jupyter core packages...
IPython : 8.23.0
ipykernel : 6.29.4
ipywidgets : 8.1.2
jupyter_client : 8.6.1
jupyter_core : 5.7.2
jupyter_server : 2.13.0
jupyterlab : 4.1.6
nbclient : 0.10.0
nbconvert : 7.16.3

有没有朋友遇到过类似的问题?或者能给我一些排查方向的建议?非常感谢!

备注:内容来源于stack exchange,提问作者Delosari

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.17 10:43:09