-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jupyter notebook through VSCode Remote session not updating animations #1119
Comments
Hi @guidocioni Plots with widgets on the website are not interactive as our Project does not have the resources to run a live server. Regarding your example please share a minimum, reproducible example. Thanks. |
That makes sense
Sure thing, but honestly there is nothing complicated going on here. import hvplot.xarray
import xarray as xr
ds = xr.open_dataset("test.nc")
ds.smlp_anomaly.hvplot(
groupby="time", # adds a widget for time
clim=(-3, 3), # sets colormap limits
widget_location="bottom",
) You can download the In my case, if I try to interact with the widget the date and the data of the plot never changes. |
Sorry, I may have an idea of what the problem is. I'm running this code into a jupyter notebook over a remote connection in Vscode. There may be something going on in the way Vscode is rendering the widget over the remote connection... |
I went through this https://discourse.holoviz.org/t/problems-with-tabulator-widget-in-vs-code-jupyter-notebook/5454/12, which seems exactly my same issue, but I do have panel, jupyter_bokeh and the other requested packages up to date. Any idea what could be the conflict when running the notebook through Vscode? |
It's quite possible that this is the same issue that was fixed here: holoviz/panel#5201 Could you make sure you have Panel >=1.2.0 and give us a breakdown of your environment? |
Here you go (not attaching the whole env for brevity)
let me know if I can provide you with more info to debug the issue |
Can you try upgrading holoviews to 1.17? |
Hi all, I just upgraded |
Wait, I just restarted the vscode server and it seems to be working now! :) |
I'm not sure if I'm doing something terribly wrong but I just tried to create an interactive plot with a time slider using the
xarray
accessor and, when moving the slider, nothing is happening and the plot does not update.Then I went on the official guide webpage (https://hvplot.holoviz.org/user_guide/Interactive.html) and also here nothing is happening to the plots when I change sliders or dropdown state...
Aren't they supposed to update?
Also tried to change browser without success.
Pretty sure I'm missing something simple here...
The text was updated successfully, but these errors were encountered: