Open cristi-neagu opened 5 years ago
Could you elaborate on your use case? collate
does not specifically delete anything, it just creates a new Overlay:
def collate(self):
"""
Collates any objects in the Overlay resolving any issues
the recommended nesting structure.
"""
return reduce(lambda x,y: x*y, self.values())
I'm trying to overlay a datashaded image and a decimated scatter plot to get some hover info out of the plot. This is then part of a layout. In essence, something like:
hv.Layout([ovr, hv.Overlay([datashade(sctr2), sctr1])])
Yes, there is probably a correct way of doing that. But the point still stands: Why is .collate()
removing the label when it's called?
Hello,
Running this code produces a layout without a label. Is this normal?
I know that in this case there is no need to use
collate()
, but the point is that simply callingovr
will work and will produce a plot with a label, so it's clear thatcollate()
removes the label.Is this intended? Am i doing something wrong?
Thank you.