Bokeh plot not updating locally but works on mybinder

Hi there,

I’ve been trying for days to get some bokeh plots to rerender when doing interactive stuff (e.g. when zooming in). Actually came from using hvplot and datashader, but I’ve narrowed it down to bokeh I think. Initially I thought it was my browser blocking javascript, or maybe a package that I missed installing, but I feel like I’ve covered all bases. I’ve also tried both jupyterlab and classic jupyter notebook but same results.

Later I found out that the mybinder bokeh notebook plots works fine on my browser! For example, this short example:

from bokeh.sampledata.iris import flowers
import hvplot.pandas

flowers.hvplot.scatter('petal_length', 'petal_width', groupby='species')

This is what it looks like on my local installation (notice that choosing species ‘versicolor’ doesn’t change the plot which is still stuck on ‘setosa’):

This is the output from my jupyter labextension list:

JupyterLab v2.1.2
Known labextensions:
   app dir: /home/username/miniconda3/envs/envname/share/jupyter/lab
        @bokeh/jupyter_bokeh v2.0.2  enabled  OK
        @jupyter-widgets/jupyterlab-manager v2.0.0  enabled  OK
        @pyviz/jupyterlab_pyviz v1.0.3  enabled  OK
        dask-labextension v2.0.2  enabled  OK
        jupyterlab-jupytext v1.2.1  enabled  OK

I’m using Firefox 65 with Python 3.8.2 on Ubuntu Linux 18.04 Bionic, Here’s some version information (all pip installed), I can provide others if necessary:

bokeh                2.0.2 
holoviews            1.13.1
hvplot               0.5.2 
pandas               1.0.3

If anyone can give me some hints on tracking down what went wrong that would be great!