notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details on branch 2023Q1
py-matplotlib Plotting library uses a syntax familiar to MATLAB users
3.8.0_2 math on this many watch lists=7 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.8.0_2Version of this port present on the latest quarterly branch.
Maintainer: mainland@apeiron.net search for ports maintained by this maintainer
Port Added: 2004-08-04 13:28:53
Last Update: 2025-08-31 10:30:51
Commit Hash: b304d8a
People watching this port, also watch:: openssl, tor, nut, gimp, cyberbit-ttfonts
Also Listed In: python
License: PSFL
WWW:
https://matplotlib.org/
Description:
matplotlib is a python 2D plotting library which produces publication quality figures using in a variety of hardcopy formats (PNG, JPG, PS, SVG) and interactive GUI environments (WX, GTK, Tkinter) across platforms. matplotlib can be used in python scripts, interactively from the python shell (ala matlab or mathematica), in web application servers generating dynamic charts, or embedded in GTK, Tk or WX applications; see backends.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}
To install the port:
cd /usr/ports/math/py-matplotlib/ && make install clean
To add the package, run one of these commands:
  • pkg install math/py-matplotlib
  • pkg install py311-matplotlib
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-matplotlib listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-matplotlib
Package flavors (<flavor>: <package>)
  • py311: py311-matplotlib
distinfo:
TIMESTAMP = 1697593172 SHA256 (matplotlib-3.8.0.tar.gz) = df8505e1c19d5c2c26aff3497a7cbd3ccfc2e97043d1e4db3e76afa399164b69 SIZE (matplotlib-3.8.0.tar.gz) = 35864435

Packages (timestamps in pop-ups are UTC):
py39-matplotlib
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly------3.8.0-
FreeBSD:14:latest--------
FreeBSD:14:quarterly------3.8.0-
FreeBSD:15:latest--n/a-n/a-3.8.0-
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
 

py311-matplotlib
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.8.0_23.8.0_2-3.8.0_23.8.0_2---
FreeBSD:13:quarterly3.8.0_13.8.0_2-3.8.0_13.8.0_2---
FreeBSD:14:latest3.8.0_13.8.0_2-3.8.0_13.8.0_2---
FreeBSD:14:quarterly3.8.0_13.8.0_2-3.8.0_13.8.0_2---
FreeBSD:15:latest3.8.0_23.8.0_2n/a3.8.0_1n/a---
FreeBSD:15:quarterly-3.8.0_2n/a-n/a---
FreeBSD:16:latest-3.8.0_2n/a-n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  2. py311-setuptools>0 : devel/py-setuptools@py311
  3. py311-wheel>0 : devel/py-wheel@py311
  4. py311-setuptools-scm>0 : devel/py-setuptools-scm@py311
  5. py311-pillow>=6.2 : graphics/py-pillow@py311
  6. py311-pyparsing>=0 : devel/py-pyparsing@py311
  7. py311-certifi>=0.10 : security/py-certifi@py311
  8. pybind11 : devel/py-pybind11@py311
  9. py311-tkinter>0 : x11-toolkits/py-tkinter@py311
  10. gettext-runtime>=0.22_1 : devel/gettext-runtime
  11. msgfmt : devel/gettext-tools
  12. pkgconf>=1.3.0_1 : devel/pkgconf
  13. python3.11 : lang/python311
  14. py311-build>=0 : devel/py-build@py311
  15. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  2. py311-contourpy>=1.0.1 : math/py-contourpy@py311
  3. py311-cycler>=0.10 : devel/py-cycler@py311
  4. py311-python-dateutil>=2.7 : devel/py-python-dateutil@py311
  5. py311-importlib-resources>=0 : devel/py-importlib-resources@py311
  6. py311-pytz>=0 : devel/py-pytz@py311
  7. py311-pyparsing>=2.3.1 : devel/py-pyparsing@py311
  8. py311-tornado>0 : www/py-tornado@py311
  9. py311-pluggy>0 : devel/py-pluggy@py311
  10. py311-pillow>=6.2.0 : graphics/py-pillow@py311
  11. py311-pyparsing>=0 : devel/py-pyparsing@py311
  12. py311-certifi>=0.10 : security/py-certifi@py311
  13. py311-kiwisolver>=1.0.1 : math/py-kiwisolver@py311
  14. py311-fonttools>=4.22.0 : print/py-fonttools@py311
  15. py311-packaging>=20.0 : devel/py-packaging@py311
  16. python3.11 : lang/python311
Library dependencies:
  1. libfreetype.so : print/freetype2
  2. libqhull_r.so : math/qhull
  3. libpng.so : graphics/png
  4. libfontconfig.so : x11-fonts/fontconfig
  5. libintl.so : devel/gettext-runtime
This port is required by:
for Build
  1. cad/freecad
  2. devel/py-qutip
  3. graphics/qgis
  4. graphics/qgis-ltr
  5. math/openturns
  6. math/py-animatplot
  7. math/py-ssm
Expand this list (33 items / 26 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. misc/py-detecta
  3. science/paraview
  4. science/py-OpenMC
  5. science/py-PyNE
  6. science/py-boutdata
  7. science/py-boututils
  8. science/py-chempy
  9. science/py-earthpy
  10. science/py-obspy
  11. science/py-phono3py
  12. science/py-scikit-fuzzy
  13. science/py-xbout
  14. science/wwplot
  15. textproc/py-wordcloud
  16. x11/kitty
  17. Collapse this list.

Deleted ports which required this port:

Expand this list of 11 deleted ports
  1. astro/py-aipy*
  2. devel/py-itools*
  3. math/py-graphtool*
  4. math/py-pymc*
  5. math/sage*
  6. misc/py-gluoncv*
  7. science/brian*
  8. science/py-hcluster*
  9. science/py-obspy-core*
  10. science/py-qiskit-dynamics*
  11. science/py-qiskit-experiments*
  12. Collapse this list of deleted ports.
for Run
  1. astro/py-astlib
  2. astro/py-astroML
  3. astro/py-metpy
  4. astro/py-pykep
  5. astro/py-skyfield
  6. astro/py-sunpy
  7. audio/py-auditok
Expand this list (147 items / 140 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. audio/py-music21
  3. biology/groopm
  4. biology/peak-classifier
  5. biology/py-PySCeS
  6. biology/py-deeptools
  7. biology/py-dna-features-viewer
  8. biology/py-htseq
  9. biology/py-pydeseq2
  10. biology/py-scikit-bio
  11. cad/freecad
  12. cad/py-lcapy
  13. cad/py-pyfda
  14. devel/py-fastf1
  15. devel/py-ipympl
  16. devel/py-mediapy
  17. devel/py-pytest-mpl
  18. devel/py-qutip
  19. finance/py-ffn
  20. finance/py-mplfinance
  21. games/py-mnemosyne-proj
  22. graphics/matplotlib-cpp
  23. graphics/py-agx-emulsion
  24. graphics/py-cartopy
  25. graphics/py-contextily
  26. graphics/py-descartes
  27. graphics/py-geomdl
  28. graphics/py-geosnap
  29. graphics/py-mpl-interactions
  30. graphics/py-mpl-scatter-density
  31. graphics/py-pointpats
  32. graphics/py-proplot
  33. graphics/py-pyqtgraph
  34. graphics/py-pyrsgis
  35. graphics/py-urbanaccess
  36. graphics/qgis
  37. graphics/qgis-ltr
  38. math/cadabra2
  39. math/mathicsscript
  40. math/octave-forge-octave_mermaid_js
  41. math/openturns
  42. math/py-animatplot
  43. math/py-animatplot-ng
  44. math/py-arviz
  45. math/py-baycomp
  46. math/py-benford_py
  47. math/py-chaospy
  48. math/py-cmyt
  49. math/py-mathics
  50. math/py-matplotlib-scalebar
  51. math/py-networkx
  52. math/py-pyneqsys
  53. math/py-pyodesys
  54. math/py-python-picard
  55. math/py-qats
  56. math/py-seaborn
  57. math/py-splot
  58. math/py-squarify
  59. math/py-ssm
  60. math/py-timple
  61. math/py-yt
  62. misc/alpaca
  63. misc/py-detecta
  64. misc/py-mmdet
  65. misc/py-mmengine
  66. misc/py-mmsegmentation
  67. misc/py-polars
  68. misc/py-timm-vis
  69. multimedia/pitivi
  70. multimedia/py-tartube
  71. science/agrum
  72. science/bout++
  73. science/cantera
  74. science/code_saturne
  75. science/gnudatalanguage
  76. science/meep
  77. science/paraview
  78. science/py-HofstadterTools
  79. science/py-MDAnalysis
  80. science/py-OpenMC
  81. science/py-PyNE
  82. science/py-abipy
  83. science/py-ase
  84. science/py-boutdata
  85. science/py-boututils
  86. science/py-chainer-chemistry
  87. science/py-chempy
  88. science/py-cirq-core
  89. science/py-earthpy
  90. science/py-gpaw
  91. science/py-inequality
  92. science/py-lifelines
  93. science/py-mne
  94. science/py-mplhep
  95. science/py-obspy
  96. science/py-phono3py
  97. science/py-phonopy
  98. science/py-pygmo2
  99. science/py-pymatgen
  100. science/py-pyteomics
  101. science/py-sarpy
  102. science/py-scikit-fuzzy
  103. science/py-sdf
  104. science/py-segregation
  105. science/py-xbout
  106. science/rdkit
  107. science/v_sim
  108. science/wwplot
  109. textproc/py-wordcloud
  110. www/py-nicegui
  111. www/py-nicegui-nogui
  112. Collapse this list.

Deleted ports which required this port:

Expand this list of 30 deleted ports
  1. astro/py-aipy*
  2. astro/py-astLib*
  3. biology/checkm*
  4. databases/mtools-mongodb*
  5. devel/py-fbprophet*
  6. devel/py-itools*
  7. devel/py-orange-widget-base*
  8. devel/ros-rx*
  9. games/py-anki*
  10. games/py-mnemosyne*
  11. graphics/caffe*
  12. math/py-Diofant*
  13. math/py-basemap*
  14. math/py-networkx1*
  15. math/py-pymc*
  16. math/sage*
  17. misc/orange3*
  18. misc/py-gluoncv*
  19. print/py-fonttools-plot*
  20. science/MOOSE-neural-simulator*
  21. science/brian*
  22. science/psychopy*
  23. science/py-hcluster*
  24. science/py-nilearn*
  25. science/py-obspy-core*
  26. science/py-qiskit-dynamics*
  27. science/py-qiskit-experiments*
  28. science/pyteomics*
  29. security/py-crits*
  30. www/pylot*
  31. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for py311-matplotlib-3.8.0_2: EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings
Options name:
math_py-matplotlib
USES:
compiler:c++11-lib gettext gnome localbase pkgconfig python shebangfix uniquefiles:dirs
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/m/matplotlib/
  2. https://pypi.org/packages/source/m/matplotlib/
Collapse this list.

There are no commits on branch 2023Q1 for this port