Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

PysimpleGUIQt no graph.draw_image?

Aberta
#65 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
desktop

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.)

Linguagem predominante
Python
Estrelas
866
Forks
106
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de spyoungtech/FreeSimpleGUI

Todas as issues de spyoungtech/FreeSimpleGUI

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.