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 a DataInspector bug if inspector_label is used with RGB images #3468

Merged
merged 1 commit into from
Jan 24, 2024

Commits on Dec 13, 2023

  1. Fix a DataInspector bug if inspector_label is used with RGB images

    If the creation of a custom tooltip was attempted with RGB type images
    the inspector would error after attempting to convert the Colorant to a
    Float32 using the Point3f constructor for the position parameter.
    
    For cases in which RGB values are being plotted we now call the
    inspector_label function using a Tuple for its third argument instead,
    avoiding the error and allowing the RGB values to be used in the
    construction of the custom string.
    Sagnac committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    99758e3 View commit details
    Browse the repository at this point in the history