gpt4 book ai didi

python - jupyter "%matplotlib notebook"不显示情节

转载 作者:太空狗 更新时间:2023-10-30 01:12:38 24 4
gpt4 key购买 nike

我想创建一个带有交互式 matplotlib 图的笔记本。我可以显示静态图(%matplotlib inline 工作正常)但是使用 %matplotlib notebook 没有数字显示,既不在笔记本中也不作为弹出窗口显示。

conda 安装了 ipython 5.1.0,木星 4.0.6matplotlib 2.0 ('2.0.0b4+2344.g7b27a1b')

这是笔记本https://github.com/fedhere/notebookTests/blob/master/mplnotebook_test.ipynb

我做错了什么?谢谢你

最佳答案

问题出在 matplotlib 2 beta 和 rc 版本上。我以为我也用 matplotlib1.5 测试过它,但我仍然加载了 matplotlib2。我举报了there .

关于python - jupyter "%matplotlib notebook"不显示情节,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41335144/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com