Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

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

未關閉
#147 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
30/100
Issue 類型
重構
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
matplotlib, python

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
Python
星號
224
分支
31
平均合併
1 天 6 小時
30 天內合併 PR
19

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

petercorke/machinevision-toolbox-python 的其他 Issue

查看 petercorke/machinevision-toolbox-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。