(plotly:jupyter-lab-tools)=
# 为 Output 创建一个新视图

显示一个 `FigureWidget`，然后创建一个新窗口来显示它，这样您就可以滚动代码，但仍然注意您在做什么。

<img src='https://media.githubusercontent.com/media/xinet-collections/test-dastsets/main/tests/create_view_for_output_jupyter_lab.gif'>

## 查看实时更新

通过输出视图，可以很容易地充分利用 `FigureWidgets` 新的命令式 graph 更新，因为您可以同时看到代码和图形。

<img src='https://media.githubusercontent.com/media/xinet-collections/test-dastsets/main/tests/demonstrate_view_jupyter_lab.gif'>
