In the tutorial website Explorer — hvPlot 0.8.4 documentation (holoviz.org) (the explorer shown below ‘hvexplorer = hvplot.explorer(df)
hvexplorer’ cell followed by lots of warnings), whenever variable I choose with mouse and keyboard, the figure on the right does not get updated (e.g. changing Kind, Title, XLabel, …) at all.
Same in brave and edge browser (and mobile, too) as well as in my local jupyter notebook.
Is it supposed to be like this? I expected it to work like, whenever I choose or change a field or variable, the graph should be updated immediately.
Or is there any button that I’m missing (like ‘apply the changes’)? I can’t find it.
Minimum reproducible example? Even through the web browser I can’t change the graph.
For example,
in Edge browser (private mode) → go to Explorer — hvPlot 0.8.4 documentation → select and change ‘Kind’ to ‘bar’ or whatever → nothing changes in the graph at the right
In the same way I can’t change the title even if I type something in Labels → Title
Do you see this info box displayed on the right hand part of the site?
hvPlot’s site is a static site while the explorer to be fully operational requires a running kernel, e.g. using it in a running notebook. In the future hvPlot’s site is likely to rely on the same technology that was recently introduced on panel.holoviz.org that allows to run Python directly in the browser (not on a server), making static sites way more dynamic.
import hvplot.pandas
hvplot.extension('bokeh')
from bokeh.sampledata.penguins import data as df
hvexplorer = hvplot.explorer(df)
hvexplorer
Output:
WARNING:param.Axes: Param pane was given unknown keyword argument(s) for 'height' parameter with a widget of type <class 'panel.widgets.input.IntInput'>. The following keyword arguments could not be applied: 'throttled'.
WARNING:param.Axes: Param pane was given unknown keyword argument(s) for 'width' parameter with a widget of type <class 'panel.widgets.input.IntInput'>. The following keyword arguments could not be applied: 'throttled'.
WARNING:param.Axes: Param pane was given unknown keyword argument(s) for 'xlim' parameter with a widget of type <class 'panel.widgets.input.LiteralInput'>. The following keyword arguments could not be applied: 'throttled'.
WARNING:param.Axes: Param pane was given unknown keyword argument(s) for 'ylim' parameter with a widget of type <class 'panel.widgets.input.LiteralInput'>. The following keyword arguments could not be applied: 'throttled'.
WARNING:param.Axes: Param pane was given unknown keyword argument(s) for 'xlim' parameter with a widget of type <class 'panel.widgets.slider.RangeSlider'>. The following keyword arguments could not be applied: 'throttled'.
WARNING:param.Colormapping: Param pane was given unknown keyword argument(s) for 'clim' parameter with a widget of type <class 'panel.widgets.input.LiteralInput'>. The following keyword arguments could not be applied: 'throttled'.
WARNING:param.Labels: Param pane was given unknown keyword argument(s) for 'fontscale' parameter with a widget of type <class 'panel.widgets.input.FloatInput'>. The following keyword arguments could not be applied: 'throttled'.
WARNING:param.Labels: Param pane was given unknown keyword argument(s) for 'rot' parameter with a widget of type <class 'panel.widgets.slider.IntSlider'>. The following keyword arguments could not be applied: 'throttled'.
WARNING:param.Operations: Param pane was given unknown keyword argument(s) for 'x_sampling' parameter with a widget of type <class 'panel.widgets.input.FloatInput'>. The following keyword arguments could not be applied: 'throttled'.
WARNING:param.Operations: Param pane was given unknown keyword argument(s) for 'y_sampling' parameter with a widget of type <class 'panel.widgets.input.FloatInput'>. The following keyword arguments could not be applied: 'throttled'.
WARNING:param.Style: Param pane was given unknown keyword argument(s) for 'alpha' parameter with a widget of type <class 'panel.widgets.slider.FloatSlider'>. The following keyword arguments could not be applied: 'throttled'.
WARNING:param.Axes: Param pane was given unknown keyword argument(s) for 'ylim' parameter with a widget of type <class 'panel.widgets.input.LiteralInput'>. The following keyword arguments could not be applied: 'throttled'.
WARNING:param.Axes: Param pane was given unknown keyword argument(s) for 'xlim' parameter with a widget of type <class 'panel.widgets.slider.RangeSlider'>. The following keyword arguments could not be applied: 'throttled'.
WARNING:param.Labels: Param pane was given unknown keyword argument(s) for 'rot' parameter with a widget of type <class 'panel.widgets.slider.IntSlider'>. The following keyword arguments could not be applied: 'throttled'.
<the-same-explorer view / graph>
As I said, in the explorer shown I can’t change anything. (on the other hand, when I click a legend in the graph, e.g. bill_length_mm, the legend itself and the corresponding line grays out interactively).
Hmm ok, I’ve also just managed to get the explorer in state similar to what you’ve been reporting. But then I couldn’t manage to get into that state again. We’ve seen issues recently due to the latest version of jupyter_client, wondering whether this is linked or not.