为什么在ipython会议期间随机出现神秘的新线角色?
问题
newline字符随机出现在我的终端窗口中,如果我的ipython会话运行超过几分钟。
屏幕截图/图
上下文
OS:
Edition Windows 11 Enterprise
Version 21H2
Installed on 3/7/2022
OS build 22000.708
Experience Windows Feature Experience Pack 1000.22000.708.0
当我使用Windows 10
时,问题也发生。
终端信息:
Windows Terminal Preview
Version: 1.14.1452.0
Profile: PowerShell Core, version: 7.2.4
...尽管我遇到了问题,但在其他Windows终端
版本以及其他版本的PowerShell
上出现。
Python信息:
Python 3.8.10(默认,5月19日2021,13:12:57)[MSC V.1916 64位(AMD64)]
matplotlib 3.4.3
其他详细信息:
这似乎只有在使用matplotlib
的情况下,即在绘图实例化时就会发生。我正在使用QT5AGG
后端。
如果需要进一步的信息,请让我知道。提前致谢!
Problem
Newline characters randomly appear in my terminal window if I've had an IPython session running for more than a few minutes.
Screenshots/diagram
Context
OS:
Edition Windows 11 Enterprise
Version 21H2
Installed on 3/7/2022
OS build 22000.708
Experience Windows Feature Experience Pack 1000.22000.708.0
The problem also occurred when I was using Windows 10
.
Terminal info:
Windows Terminal Preview
Version: 1.14.1452.0
Profile: PowerShell Core, version: 7.2.4
...though I've had the problem occur on other Windows Terminal
versions as well as other versions of PowerShell
.
Python info:
Python 3.8.10 (default, May 19 2021, 13:12:57) [MSC v.1916 64 bit (AMD64)]
matplotlib 3.4.3
Other details:
This seems to only happen when matplotlib
has been used, namely when a plot has been instantiated. I'm using the Qt5Agg
backend.
Please let me know if any further info is needed. Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论