Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

tools.plot: drop the set_window_title copy once Spatial Math has it (SMTB #263)

Aperta
#789 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
25/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

The fallback set_window_title copy and its try/except import are in roboticstoolbox/tools/plot.py; the call sites are PyPlot, PyPlot2 and Vehicle. Hold the work until Spatial Math PR #263 is merged and released, then raise the minimum version in pyproject.toml. Done means the fallback is deleted, the call sites import from spatialmath.base, and the existing plot tests still pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

tech-debt

Spatial Math PR rai-opensource/spatialmath-python#263 adds spatialmath.base.set_window_title(fig, title).

RTB has its own copy in roboticstoolbox/tools/plot.py, which already uses SMTB's when it exists (try: from spatialmath.base import set_window_title). Once the minimum Spatial Math version in pyproject.toml has it:

  • require that Spatial Math version
  • delete the fallback copy and the try/except
  • import set_window_title from spatialmath.base at the call sites (PyPlot, PyPlot2, Vehicle)

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

Reminder to trigger the same change on MVTB and bdsim (see the linked issues there).

Lingua principale
C++
Stelle
3.5k
Fork
639
Merge medio
1g 22h
PR unite (30g)
73

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di petercorke/robotics-toolbox-python

Tutte le issue di petercorke/robotics-toolbox-python

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.