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

Use spatialmath.base.set_window_title once released (SMTB #263), remove the local copies

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

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
30/100
Tipo de issue
Refatoração
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
matplotlib, python

Direção de pesquisa

Start by checking whether spatialmath-python PR #263 is merged and released, and what minimum Spatial Math version the project requires; the work cannot land before that. The local helper is in base/imageio.py, and direct canvas.manager.set_window_title calls are in VisualServo.py (two places), Camera.py and ImageProcessing.py. Done means those call sites use spatialmath.base.set_window_title, the local helper is removed, and the test suite still passes.

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

Descrição

tech-debt

Spatial Math PR rai-opensource/spatialmath-python#263 adds spatialmath.base.set_window_title(fig, title), which sets a figure's window title if it has a window and returns False if not.

MVTB has its own copies:

  • base/imageio.py: set_window_title(title) on plt.gcf() with a bare except:
  • direct canvas.manager.set_window_title(...) in VisualServo.py (two places), Camera.py and ImageProcessing.py

Replace them with the SMTB function once the minimum Spatial Math version has it, and remove the local helper.

Review by 2026-10-28: check whether #263 is merged and released.

Linguagem predominante
Python
Estrelas
224
Forks
31
Merge médio
1d 22h
PRs com merge (30d)
29

Preparar o ambiente

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 petercorke/machinevision-toolbox-python

Todas as issues de petercorke/machinevision-toolbox-python

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.