我希望为 jupyter 笔记本上的 matplotlib 中生成的绘图提供缩放和平移选项。我尝试安装 mpld3 但导入包根本不会生成我的图。这是我使用的 Anaconda 版本(Anaconda2)的问题吗?我应该做什么来修复它?感谢任何帮助,谢谢
对我来说,以下方法有效:
pip install ipympl
或 conda install ipympl
(ipympl 安装在 jupyter-notebook (python3))pip install ipywidgets
或conda install ipywidgets
(IPython Notebook ipywidgets不显示)%matplotlib ipympl
相关其他问题: