← 返回首页
Fixes to base.plot_box() by petercorke · Pull Request #179 · rai-opensource/spatialmath-python · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Fixes to base.plot_box()#179

Open
petercorke wants to merge 2 commits into
rai-opensource:masterfrom
petercorke:fix/base-plot-box
Open

Fixes to base.plot_box()#179
petercorke wants to merge 2 commits into
rai-opensource:masterfrom
petercorke:fix/base-plot-box

Conversation

Copy link
Copy Markdown
Collaborator

Improve handling of the "format string" arg.
Provide a US-spelling version of the 'centre' option, either 'center' or 'centre' will work.
Prevent multiple Matplotlib arguments of the same name being passed to plt.Rectangle, as happens from plot_labelbox. Improve the docstring.

Minor fix in docstring for plot_arrow, tex string should be raw. This upsets Sphinx when any other package imports spatialmath.

Provide a US-spelling version of the 'centre' option, either 'center' or 'centre' will work. Prevent multiple Matplotlib arguments of the same name being passed to `plt.Rectangle`, as happens from `plot_labelbox`. Improve function docstring. Minor fix in docstring for `plot_arrow`, tex string should be raw. This upsets Sphinx when any other package imports spatialmath.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Footer

© 2026 GitHub, Inc.