# Setting height and width on hvplot scatter\_matrix

**URL:** <https://discourse.holoviz.org/t/setting-height-and-width-on-hvplot-scatter-matrix/7057>\
**Category:** hvPlot\
**Created:** [April 2, 2024, 6:07pm UTC](https://discourse.holoviz.org/t/setting-height-and-width-on-hvplot-scatter-matrix/7057 "2024-04-02T18:07:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LinuxIsCool](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/linuxiscool/32/276_2.png) [@LinuxIsCool](https://discourse.holoviz.org/u/LinuxIsCool)\
**Post date:** [April 2, 2024, 6:07pm UTC](https://discourse.holoviz.org/t/setting-height-and-width-on-hvplot-scatter-matrix/7057/1 "2024-04-02T18:07:32Z")

</div>

I would expect the following to work for setting height or width for a scatter matrix plot, but the sizing is unchanged.

```python
import hvplot
import pandas as pd
import numpy as np

# Sample DataFrame
df = pd.DataFrame({
    'A': np.random.randn(100),
    'B': np.random.randn(100),
    'C': np.random.randn(100)
})

# Scatter matrix plot with specified width and height for each subplot
scatter_matrix = hvplot.scatter_matrix(df, width=200, height=900).opts(width=2000)

scatter_matrix

```

How can I modify the size of a scatter matrix in hvplot?

---

<div class="post-metadata">

**Author:** ![ahuang11](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ahuang11/32/4947_2.png) [@ahuang11](https://discourse.holoviz.org/u/ahuang11)\
**Post date:** [April 2, 2024, 7:59pm UTC](https://discourse.holoviz.org/t/setting-height-and-width-on-hvplot-scatter-matrix/7057/2 "2024-04-02T19:59:44Z")

</div>

```auto
scatter_matrix = hvplot.scatter_matrix(df).opts(plot_size=500)

scatter_matrix

```

Found thru  
`hv.help(scatter_matrix)`

But perhaps this warrants a bug report on hvplot. I’d also expect width/height to work.
