AttributeError: 'FigureManagerInterAgg' object has no attribute 'window'
pycharm中代码
fig = plt.figure()
fig.canvas.manager.window.wm_geometry('+600+100')
#或者使用如下代码
plt.get_current_fig_manager().window.showMaximized()
报错:
AttributeError: ‘FigureManagerInterAgg’ object has no attribute ‘window’
解决方法:
设置pycharm,File/Setting/tools/Python Scientific下的show plots取消对勾