Matplotlib documentation — Matplotlib 3.10.3 documentation (original) (raw)
Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations.
Install#
pip
conda
conda install -c conda-forge matplotlib
pixi
uv
Warning
If you install Python with uv
then the tkagg
backend will not be available because python-build-standalone (used by uv to distribute Python) does not contain tk bindings that are usable by Matplotlib (see this issue for details). If you want Matplotlib to be able to display plots in a window, you should install one of the other supported GUI frameworks, e.g.
uv add matplotlib pyside6
other
For more detailed instructions, see theinstallation guide.