Open PierreCe opened 5 months ago
Online nyc_buildings notebook ((https://nyc-buildings-notebook.pyviz.demo.anaconda.com/notebooks/nyc_buildings.ipynb#)) Tested with Chrome
The legend should be shown only once, and deselecting a type of building should hide it what doesn't happen.
All code is online
polys = hv.Polygons(ddf, vdims='type') shaded = datashade(polys, color_key=color_key, aggregator=ds.by('type', ds.any())) hover = inspect_polygons(shaded).opts(fill_color='red', tools=['hover']) tiles * shaded * legend * hover
In https://github.com/holoviz/datashader/blob/main/examples/user_guide/8_Polygons.ipynb there is a screenshot of the attended legend.
Actual behavior :
As I manage to reproduce the same behavior locally, what would be the correction to make?
ALL software version info
Online nyc_buildings notebook ((https://nyc-buildings-notebook.pyviz.demo.anaconda.com/notebooks/nyc_buildings.ipynb#)) Tested with Chrome
Description of expected behavior and the observed behavior
The legend should be shown only once, and deselecting a type of building should hide it what doesn't happen.
Complete, minimal, self-contained example code that reproduces the issue
All code is online
Screenshots or screencasts of the bug in action
In https://github.com/holoviz/datashader/blob/main/examples/user_guide/8_Polygons.ipynb there is a screenshot of the attended legend.
Actual behavior :![image](https://github.com/holoviz/datashader/assets/79575515/31937822-7b45-4d89-9b9a-223ab6ac7917)
As I manage to reproduce the same behavior locally, what would be the correction to make?