spyoungtech / spyoungtech/FreeSimpleGUI
PysimpleGUIQt no graph.draw_image?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 867
- Forks
- 106
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
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.)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the PySimpleGUIQt Graph implementation and comparing its available drawing methods with the reported tkinter Graph.draw_image call. Confirm the expected behavior for drawing an image and then a box, and check whether the repository has relevant Graph tests. Done means the reported workflow works in the Qt port or its unsupported status is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100