-
-
Notifications
You must be signed in to change notification settings - Fork 394
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
datashade of NdOverlay of QuadMesh does not work #6204
Comments
It seems to work if you use meshes = [
hv.QuadMesh(da.where(da > 0), kdims=["x", "y"], vdims=["D"]).opts(alpha=0.5)
for da in samples.values()
]
overlay = hv.Overlay(meshes, kdims=["sample"])
shade(
rasterize(overlay),
aggregator=datashader.by("sample"),
) |
Hey, thanks, however it still seems like it's missing some shading between the two groups. I've been playing around with the However, I wonder what the implications are of setting |
Description of expected behavior and the observed behavior
Datashading an NdOverlay of Quadmeshes (with different axis bins) does not work and results in:
ValueError: Supplied Image bounds do not match the coordinates defined in the data. Bounds only have to be declared if no coordinates are supplied, otherwise they must match the data. To change the displayed extents set the range on the x- and y-dimensions.
I tried setting
hv.config.image_rtol = 1
but with no resultComplete, minimal, self-contained example code that reproduces the issue
Stack traceback and/or browser JavaScript console output
Stack trace
More info:
hv.config.image_rtol
to 1, but to no avail. This thread led me to believe that the issue might be how datashader works?datashade(
andshade(rasterize(
.rasterize
by itself seems to work fine (but doesn't shade the data, which I need).ALL software version info
The text was updated successfully, but these errors were encountered: