Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fixed-size Array visualization #81

Merged
merged 2 commits into from
Apr 18, 2022

Conversation

mjeronimo
Copy link

Don't assume that has_maximum_size means that a maximum_size field
exists on the object. In the case of an Array object, has_maximum_size
is True, but there is no 'maximum_size' field, only 'size'.

Fixes: #77

Signed-off-by: Michael Jeronimo [email protected]

Don't assume that has_maximum_size means that a maximum_size field
exists on the object. In the case of an Array object, has_maximum_size
is True, but there is no 'maximum_size' field, only 'size'.

Fixes: #77

Signed-off-by: Michael Jeronimo <[email protected]>
@mjeronimo mjeronimo requested a review from clalancette April 18, 2022 18:32
Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks very reasonable to me, thanks for the fix! I left one suggestion for a fix inline, I'll let you decide whether to take that fix or not. Otherwise, good to merge with green CI.

src/rqt_plot/plot_widget.py Outdated Show resolved Hide resolved
Co-authored-by: Chris Lalancette <[email protected]>
@mjeronimo
Copy link
Author

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@mjeronimo mjeronimo merged commit e68d1f7 into foxy-devel Apr 18, 2022
@clalancette clalancette deleted the mjeronimo/bugfix-fixed-size-array-plotting branch August 11, 2023 18:43
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