# libtmux.Pane.set_height

- **Module:** libtmux.Pane
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/9fdd083a8181a827889337b63cd4e6daea661a8c/src/libtmux/pane.py#L1613
- **Page:** https://libtmux.org/en/py/latest/reference/libtmux-pane-set_height/

```
libtmux.Pane.set_height(self, height: int) -> Pane
```

Set pane height.

## Parameters

- `self`
- `height` (int): Pane height, in cells.

## Returns

:class:`Pane`
    Self, for method chaining.
