holoviz / holoviz/hvplot

Confusing tooltip when hover over a DataArray.hvplot.rgb Image

Open
#414 5 comments 0 reactions 0 assignees View on GitHub
upstream
Dominant language
Python
Stars
1.4k
Forks
124
Avg merge
1d 18h
Merged PRs (30d)
1

Description

Hi,

I am new to hvplot. I was following the hvplot example available at https://hvplot.holoviz.org/reference/xarray/rgb.html
At the end of the example we can find a DataArray.hvplot.rgb Image. When I hover over it the resulting tooltip is strange, for instance RGBA = 4290429906. What does this number mean?...is it possible to extract the red, green and blue component from such number?...is it possible to customize such tooltip to show a tuple with the r,g,b components?, is it possible to customize the tooltip to also show the x and y coordinates formatted as integers (by default the tooltip is formatted as float)?

Thank you very much for your help!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.