Skip to content

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

Open

Description

@petercorke

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.

Activity

  1. added
    tech-debtKnown technical debt / deferred cleanup, not a live bug
    on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech-debtKnown technical debt / deferred cleanup, not a live bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions