# libtmux.Pane.resize_pane

- **Module:** libtmux.Pane
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/036c521c4b83ce6e434eb50afe2a0d08a6a05e46/src/libtmux/pane.py#L2830
- **Page:** https://libtmux.org/reference/py/libtmux-pane-resize_pane/

```
libtmux.Pane.resize_pane(self, # Adjustments, adjustment_direction: ResizeAdjustmentDirection | None = None, adjustment: int | None = None, # Manual, height: str | int | None = None, width: str | int | None = None, # Zoom, zoom: bool | None = None, # Mouse, mouse: bool | None = None, # Optional flags, trim_below: bool | None = None) -> Pane
```

Resize pane, deprecated by :meth:`Pane.resize`.
