Open gwerbin opened 3 months ago
Can you check your browser's JavaScript console for errors?
Can you check your browser's JavaScript console for errors?
There are errors there, but I am having a problem actually running this in a clean environment including the Jupyter installation.
I realized that Jupyter was somehow picking up my system-level jupyter
executable, so I removed that from PATH
and installed Jupyter Lab into the Conda env itself:
micromamba create -p .local/conda -f anaconda-project.yml
micromamba install -p .local/conda ipykernel jupyterlab
But then import holoviews as hv
failed:
There are also several errors and warnings in the JS console that appear immediately upon refreshing the page, but I am struggling to export them from the Chrome dev tools. Nothing happens when I right click in the console window and click "Save As". I am using Chrome "Version 123.0.6312.107 (Official Build) (arm64)".
Some of them seem related to Jupyter itself being weird, but this one stood out to me for being so opaque:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'type')
at Ae (jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:1201011)
at jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:1199337
at Array.forEach (<anonymous>)
at r (jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:1199296)
at c (jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:1200479)
at m (jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:1763907)
at Object.l [as emit] (jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:1763583)
at a.emit (jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:1761420)
at xe._onCellInViewportChanged (jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:1153452)
at m (jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:1763907)
Any advice would be appreciated. Is there a video out there that demonstrates what datashading recalculation on zoom should look like?
I am new to the Holoviz ecosystem, so I am trying to learn by following the NYC Taxi example for use of Datashader.
Specifically, I am looking at this section: https://examples.holoviz.org/gallery/nyc_taxi/nyc_taxi.html#million-point-datashaded-plots-interactive
I got a Conda environment set up and am able to reproduce all the plots. However I do not see any change when I pan or zoom in the final "rasterized" Bokeh plot.
The doc text suggests that this should "just work":
I am not seeing any behavior like this, even after waiting several minutes (the plot itself only takes a few seconds to load or reload). I tried removing
hd.dynspread
as follows, but still got the same lack of update:Am I missing something obvious here? Do I need to enable something in the notebook to get this auto-updating behavior?
I also am not seeing any tooltips on hover, which the doc also implies I should see.
I set up my environment as follows:
Then I ran the notebook in JupyterLab Desktop using the
holoviz-examples.nyc_taxi
kernel. I checked and confirmed that JL Desktop already has thebokeh-jupyter-bokeh
extension installed.