为什么 Jupyter 有时会将绘图放在可滚动的框架中?
Why does Jupyter sometimes put plots in scrollable frames?
下面是一张截图,其中我创建了两个包含 4 个图的图形,代码几乎相同。值得注意的是,两个图的大小相同,并且由同一行代码生成:
fig, axes = plt.subplots(2, 2,figsize=(12, 10))
第一个显示时没有滑块,第二个显示在有滑块的框架中。
这是为什么?
But i am creating two figures the same size, why is it doing it for
one and not the other?
一定是因为你点击了输出左边的矩形框
下面是一张截图,其中我创建了两个包含 4 个图的图形,代码几乎相同。值得注意的是,两个图的大小相同,并且由同一行代码生成:
fig, axes = plt.subplots(2, 2,figsize=(12, 10))
第一个显示时没有滑块,第二个显示在有滑块的框架中。
这是为什么?
But i am creating two figures the same size, why is it doing it for one and not the other?
一定是因为你点击了输出左边的矩形框