holoviz / holoviz/hvplot

Could hvplot.interactive please support outputting to responsive hvplots

Open
#695 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
124
Avg merge
1d 18h
Merged PRs (30d)
1

Description

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.

https://user-images.githubusercontent.com/42288570/149609957-36542c62-9a66-47a6-af43-2b1360a7a34c.mp4

And it does not work robustly. Sometimes the plot does not update. Sometimes even an exception is raised. See seperate issue https://github.com/holoviz/hvplot/issues/696

## Notebook

Rename from `.csv` to `.ipynb`.

[hvplot_interactive_not_responsive.csv](https://github.com/holoviz/hvplot/files/7874292/hvplot_interactive_not_responsive.csv)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.