Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'FigureCanvasQTAgg' object has no attribute 'set_window_title' #2

Open
infiniteregrets opened this issue May 14, 2023 · 2 comments

Comments

@infiniteregrets
Copy link

Traceback (most recent call last):
  File "/home/mehularora/AMG8833_IR_cam/examples/IR_cam_interp.py", line 68, in <module>
    fig.canvas.set_window_title('AMG8833 Image Interpolation')
AttributeError: 'FigureCanvasQTAgg' object has no attribute 'set_window_title'

small fix: need to use fig.canvas.manager
if you're accepting PRs, lmk ill open one

@won23lee
Copy link

I am trying to replicate this project for a science fair, could you let me know how to implement the fig.canvas.manager fix?

@jluke1
Copy link

jluke1 commented Dec 2, 2023

Change IR_cam_interp.py, line 68 to
fig.canvas.manager.set_window_title('AMG8833 Image Interpolation')

John Luke

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants