Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#789 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
25/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
data-visualization

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
C++
Star
3.5k
Fork
639
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
73

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của petercorke/robotics-toolbox-python

Tất cả issue của petercorke/robotics-toolbox-python

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.