Third text 6 pdf download - apologise, but
Installation Guide¶
Installing from source¶
If you are interested in contributing to Matplotlib development, running the latest source code, or just like to build everything yourself, it is not difficult to build Matplotlib from source. Grab the latest diseinuak4web.net release file from the PyPI files page, or if you want to develop Matplotlib or just need the latest bugfixed version, grab the latest git version, and see Install from source.
Matplotlib can be installed from the source directory with a simple
We provide a diseinuak4web.net file which you can use to customize the build process. For example, which default backend to use, whether some of the optional libraries that Matplotlib ships with are installed, and so on. This file will be particularly useful to those packaging Matplotlib.
Dependencies¶
Matplotlib requires the following dependencies:
Optionally, you can also install a number of packages to enable better user interface toolkits. See What is a backend? for more details on the optional Matplotlib backends and the capabilities they provide.
- Tk (>= , != or ): for the Tk-based backends.
- PyQt4 (>= ) or PySide (>= ) [1]: for the Qt4-based backends.
- PyQt5 or PySide2: for the Qt5-based backends.
- PyGObject: for the GTK3-based backends [2].
- wxPython (>= 4) [3]: for the wx-based backends.
- pycairo (>= ) or cairocffi (>= ): for the GTK3 and/or cairo-based backends.
- Tornado: for the WebAgg backend.
For better support of animation output format and image file formats, LaTeX, etc., you can install the following:
FreeType and Qhull¶
Matplotlib depends on FreeType (>= ), a font rendering library, and on Qhull (>= ), a library for computing triangulations. By default (except on AIX) Matplotlib downloads and builds its own copy of FreeType (this is necessary to run the test suite, because different versions of FreeType rasterize characters differently), and uses its own copy of Qhull.
To force Matplotlib to use a copy of FreeType or Qhull already installed in your system, create a file with the following contents:
before running .
In this case, you need to install the FreeType and Qhull library and headers. This can be achieved using a package manager, e.g. for FreeType:
(adapt accordingly for Qhull).
On Linux and macOS, it is also recommended to install pkg-config, a helper tool for locating FreeType:
If not using pkg-config (in particular on Windows), you may need to set the include path (to the library headers) and link path (to the libraries) explicitly, if they are not in standard locations. This can be done using standard environment variables -- on Linux and OSX:
and on Windows:
Note
Matplotlib always uses its own copies of the following libraries:
- : the Anti-Grain Geometry C++ rendering engine;
- : a TrueType font utility.
Building on Windows¶
Compiling Matplotlib (or any other extension module, for that matter) requires Visual Studio or later.
If you are building your own Matplotlib wheels (or sdists), note that any DLLs that you copy into the source tree will be packaged too.
-