【问题标题】:Interact with graphs in jupyter lab在 jupyter lab 中与图形交互
【发布时间】:2021-08-01 11:08:41
【问题描述】:

我一直在尝试在 jupyter 实验室中创建交互式图表,我使用过:

%matplotlib widget

但后来我收到了这条消息:

Warning: Cannot change to a different GUI toolkit: widget. Using notebook instead.

当我尝试绘制直方图时,我得到了:

Javascript Error: IPython is not defined

那么,我该怎么办?我只想放大直方图。

【问题讨论】:

标签: python matplotlib histogram jupyter-lab interaction


【解决方案1】:

使用%matplotlib notebook。它可以让您放大/缩小图表。

【讨论】:

  • 我得到:IPython 没有定义
  • 你在使用 jupyter 实验室吗?
猜你喜欢
  • 2019-11-24
  • 2019-03-06
  • 2016-10-27
  • 2017-09-03
  • 1970-01-01
  • 2015-12-27
  • 2018-04-12
  • 2020-11-30
  • 1970-01-01
相关资源
最近更新 更多