holoviz/hvplot

Could hvplot.interactive please support outputting to responsive hvplots

MarcSkovMadsen opened this issue · 0 comments

Panel: 0.12.6, Bokeh: 2.2.4, hvplot: 0.7.3, holoviews: 1.14.7

All my work in notebook and all my data apps are responsive by default. So I would like hvplot.interactive to support responsive as well in the notebook.

It seems not. I've attached a reproducible notebook.

My observations are

No responsive option set

  • When first shown the plot is full width.
  • The plot is not responsive though. If I change the window width it just does not resize.
  • As soon as I a change the value of a widget it become smaller and fixed size.

https://user-images.githubusercontent.com/42288570/149609832-e6f1139e-7504-43ba-a2b2-5ce88e39af06.mp4
https://user-images.githubusercontent.com/42288570/149609856-739d5e84-7ef6-455a-89da-ac8132e4fb8f.mp4

Responsive option set

When responsive=True the plot does not become responsive.

not_responsive_not_working.mp4

And it does not work robustly. Sometimes the plot does not update. Sometimes even an exception is raised. See seperate issue #696

Notebook

Rename from .csv to .ipynb.

hvplot_interactive_not_responsive.csv