- 博客(4)
- 收藏
- 关注
原创 AttributeError: module ‘backend_interagg‘ has no attribute ‘FigureCanvas‘. Did you mean: ‘解决方法:
matplotlib.use('TkAgg') 这行代码是用于设置 Matplotlib 库的后端。Matplotlib 支持多种后端,例如 ‘TkAgg’、‘Qt5Agg’、‘GTK3Agg’ 等。在这行代码中,‘TkAgg’ 是后端的名称,而 matplotlib.use() 函数用于指定使用哪种后端。需要注意的是,更改后端会影响所有后续的图形绘制,因此如果你在代码的不同部分使用不同的后端,你需要在每个需要使用特定后端的代码部分之前调用 matplotlib.use()。
2023-12-02 18:40:17
407
原创 pydev debugger: CRITICAL WARNING: This version of python seems to be incorrectly compiled
pydev debugger: CRITICAL WARNING: This version of python seems to be incorrectly compiled (internal generated filenames are not absolute)
2023-12-02 18:06:46
2299
原创 [已解决] WARNING: Ignore distutils configs in setup.cfg due to encoding errors.
在运行命令前先运行"chcp 65001"可消除大部份警告.
2023-12-02 17:12:36
239
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人