# libtmux.Pane.set_height

- **Module:** libtmux.Pane
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/036c521c4b83ce6e434eb50afe2a0d08a6a05e46/src/libtmux/pane.py#L1613
- **Page:** https://libtmux.org/reference/py/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.
