annotators wont work in geoviews
See original GitHub issueAnnotators example at https://geoviews.org/user_guide/Annotators.html doesn’t work, annotators
using holoviews works though.
ALL software version info
python=3.7 bokeh=2.0.2 holoviews=1.13.2 geoviews=1.8.1 OS: Linux, Browsers: Firefox or Chrome
to be sure of environment issues, I tried on binder using repo: https://github.com/suvarchal/geoviews_bug and used it for examples below.
Description of expected behavior and the observed behavior
Expected it to work like holoviews annotators example but doesn’t. JS Console gives two errors based on if holoviews was used before geoviews snippet or not.
Complete, minimal, self-contained example code that reproduces the issue
Basically, the code from the docs, https://geoviews.org/user_guide/Annotators.html. If it helps here are binder links to the notebooks. Example 1:
Browser JavaScript console output
Error: Model 'geoviews.models.custom_tools.ClearTool' does not exist. This could be due to a widget or a custom model not being registered before first usage.
or
Error: Model 'geoviews.models.custom_tools.CheckpointTool' does not exist. This could be due to a widget or a custom model not being registered before first usage.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top GitHub Comments
Please open a new issue with the versions of the various libraries you are using.
This seems to be broken again. I’m getting no annotation tools showing up, and the same
Uncaught Error: Model 'geoviews.models.custom_tools.ClearTool' does not exist. This could be due to a widget or a custom model not being registered before first usage.
message in the console.Binder link to reproduce:
Dependencies (installed from conda-forge):