Skip to content

Fix color of arrow style#69

Merged
petercorke merged 1 commit intorai-opensource:masterfrom
stefangachter:fix_color_of_arrwo_style
Mar 28, 2023
Merged

Fix color of arrow style#69
petercorke merged 1 commit intorai-opensource:masterfrom
stefangachter:fix_color_of_arrwo_style

Conversation

@stefangachter
Copy link
Copy Markdown
Contributor

When plotting with arrow style but assigning different colors to each axis, then there is a color mismatch.

X = SE3.Rand()
X.plot(color=["r","g","b"], textcolor="k")

image
One would expect color-wise:
X.plot(color=["r","g","b"], textcolor="k", style="line")
image
Investigation of the code revealed that there was an indexing error when plotting the x-axis with quiver.

@petercorke petercorke merged commit d28288b into rai-opensource:master Mar 28, 2023
@stefangachter stefangachter deleted the fix_color_of_arrwo_style branch March 30, 2023 05:37
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.

3 participants