Python matplotlib小部件在Jupyterlab 2.1.2中不起作用
我在Ubuntu19.10上运行Jupyterlab 2.1.2,因为我升级到Jupyterlab 2.x的matplotlib小部件无法工作。 每次我尝试创建一个图形时:Python matplotlib小部件在Jupyterlab 2.1.2中不起作用,python,jupyter-lab,matplotlib-widget,Python,Jupyter Lab,Matplotlib Widget,我在Ubuntu19.10上运行Jupyterlab 2.1.2,因为我升级到Jupyterlab 2.x的matplotlib小部件无法工作。 每次我尝试创建一个图形时: %matplotlib widget import numpy as np from matplotlib import pyplot as plt fig, ax = plt.subplots() 我在输出单元格中得到: Canvas(toolbar=Toolbar(toolitems=[('Home', 'Reset
%matplotlib widget
import numpy as np
from matplotlib import pyplot as plt
fig, ax = plt.subplots()
我在输出单元格中得到:
Canvas(toolbar=Toolbar(toolitems=[('Home', 'Reset original view', 'home', 'home'), ('Back', 'Back to previous …
我在扩展管理器和命令行中升级并安装了扩展:
pip install --upgrade jupyterlab
pip install --upgrade nodejs
jupyter labextension install jupyter-matplotlib
但是没有任何运气
提前谢谢你的建议