Skip to content

PysimpleGUIQt no graph.draw_image? #65

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

Open
rp10007 opened this issue Mar 30, 2025 · 0 comments
Open

PysimpleGUIQt no graph.draw_image? #65

rp10007 opened this issue Mar 30, 2025 · 0 comments

Comments

@rp10007
Copy link

rp10007 commented Mar 30, 2025

Don't know whether this is properly a bug or an enhancement request.

My code relies on a graph element that I draw an image onto (so that I can then draw a box onto the image and then do stuff with the part of the image inside the box). When I switch from the default tkinter version to PySimpleGUIQt, I get an error message:

initimage = graph.draw_image(data=src, location=(0,600))
               ^^^^^^^^^^^^^^^^
AttributeError: 'Graph' object has no attribute 'draw_image'. Did you mean: 'draw_circle'?

Looking on the PyPi page for the Qt port, I see that it's under development, and doesn't currently list images as a thing graphs can draw. Is that expected to change anytime soon? (I don't know enough about Qt to know whether that's a hard problem.)

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

1 participant