清除 Spyder 中的历史记录窗格

Clear history pane in Spyder

我不知道 Spyder 历史保留了多少行,但是:

似乎无法使用界面清除历史记录选项卡。 Spyder documentation is silent 在那。

我发现这个 question OP 想要增加历史大小。提供的解决方案是增加缓冲区大小:

在这里输入一个小数字 (10) 并重新启动并没有改变标签内容。我不确定此设置是否与我的问题有关。这个问题有已知的解决方案吗?

(这里是 Spyder 维护者) 你说

It seems the history tab cannot be cleared using the interface. Spyder documentation is silent on that.

如您所料,历史面板的内容无法清除。我在我们的文档中打开了 an issue,所以我们不会忘记提及这一点。

I found this question where the OP wanted to increase the history size.

该选项没有达到您预期的效果。它只有 increases/decreases IPython 控制台中显示的行数。

“历史记录”窗格中显示的行数限制固定为 1000,无法更改。我们也会在我们的文档中提到这一点。