holoviz / holoviz/hvplot

.head output of .interactive() pipeline not readable

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

Description

hvplot==0.8.0

In the below example the user ends up with something unreadable. It is not clear to the user how to make it useful. It should just be responsive by default I believe. And add scrollbars if needed.

![image](https://user-images.githubusercontent.com/42288570/186745572-f85182ff-5b98-44f8-876c-a8bf34fcce78.png)

```python
import hvplot.pandas # noqa
import panel as pn
from bokeh.sampledata.penguins import data as df

w_sex = pn.widgets.MultiSelect(name='Sex', value=['MALE'], options=['MALE', 'FEMALE'])
w_body_mass = pn.widgets.FloatSlider(name='Min body mass', start=2700, end=6300, step=50)

dfi = df.interactive(loc='left')
dfi.loc[(dfi['sex'].isin(w_sex)) & (dfi['body_mass_g'] > w_body_mass)].head()
```

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.