holoviz / holoviz/hvplot

Widget based plots don't look good on a smartphone

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

Description

#### ALL software version info

Software Version Info

```plaintext
hvplot = 0.11.3.dev11+gbb3be85.d20250203
holoviews = 1.20.1a0
bokeh = 3.6.2
```

#### Description of expected and observed behavior

**Expected Behavior**
When I set `responsive=True` on a widget-based plot, I expect both the plot and its widgets to dynamically scale for smaller screens (e.g., smartphone displays).

**Observed Behavior**
While the plot resizes correctly, the widgets remain at their original size, causing them to overlap and obscure the plot.

#### Complete, minimal, self-contained example code that reproduces the issue

```python
import pandas as pd
import hvplot.pandas

data = 'https://datasets.holoviz.org/penguins/v1/penguins.csv'
df_penguins = pd.read_csv(data)

df_penguins.hvplot.scatter(x='bill_length_mm', y='bill_depth_mm',
groupby=['island', 'sex'], height=300, responsive=True)
```

#### Stack traceback and/or browser JavaScript console output
None

#### Screenshots or screencasts of the bug in action
**iPhone 14 Pro-max**

![Image](https://github.com/user-attachments/assets/2e6f6661-62aa-48d3-92c7-4732a8596c83)

**Samsung galaxy S20 Ultra**

![Image](https://github.com/user-attachments/assets/bc248388-a689-4b54-905a-aaf3f6d7a32a)

**Google Pixel 7**

![Image](https://github.com/user-attachments/assets/2b7f4966-4a8e-43a6-8b2c-860d6347d022)

- [ ] I may be interested in making a pull request to address this

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.