-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
hv.RGB does not display image and fails to raise an error #3752
Comments
A monochrome image is by definition not an RGB image. If you want to display it as a monochrome image simply use hv.Image(np.array(input_image)).opts(cmap='gray') |
Thank you. |
No, you're right that is of course a bug. |
Should I open a separate issue for that or should this be reopened? |
I'll go ahead and reopen this issue. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The following code results in an error to raise a ValueError, so I think the problem is twofold. hv.RGB cannot handle the shape of the input array and neither can the error message. Maybe this is related to the fact that the image is monochrome?
Code section
error
pyviz packages
The text was updated successfully, but these errors were encountered: