Open afonit opened 3 years ago
Agree that this should work, for the time being you should be able to work around this by applying the linked selections to each component individually and only composing them after the fact.
@philippjfr thanks, again, not sure what changed in the libraries to make this behavior not work now.
Reading through the documentation - I am not seeing any examples of applying the linked selections to each component separately. I tried to instantiate a selector independent of anything then attach it to the objects - but I did not see any methods that would be useful in that.
Do you know of any examples that expound upon that?
Do you know of any examples that expound upon that?
You can use it like this:
ls = hv.link_selections.instance()
tiles * ls(el1) + ls(el2)
My colleague and I ran into a similar issue with geoviews' WMTS
:
AttributeError: 'WMTS' object has no attribute '_transforms'
We found that simply patching on an empty _transforms
fixed it for our use case:
from geoviews.element.geo import WMTS
# HACK: this is necessary to get around the fact that geoviews' WMTS class does not have `_transforms` and therefore
# when you try to link against anything containing basemaps you will get an error
WMTS._transforms = []
Recently when running a notebook, we have started to get an error. When I use the full production example, the issue seems to be when using
link_selection
I was trying to get the error to reproduce with a very small fake dataset and was able to finally do so with:
That will produce this error:
When playing with the full example, I can plot all the components separately, but when adding in that
link_selection
it throws that error.