Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
matplotlib: plotting with Python
Python C++ Objective-C C JavaScript CSS Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
CXX
LICENSE
agg24
doc
examples
lib
release/win32/data
src
test
ttconv
unit
.gitattributes
.gitignore
.mailmap
CHANGELOG
INSTALL
MANIFEST.in
Makefile
README.osx
README.txt
TODO
boilerplate.py
license.py
make.osx
matplotlibrc.template
setup.cfg.template
setup.py
setupegg.py
setupext.py
tests.py

README.osx

Building mpl on OSX has proven to be a nightmare because of all the
different types of zlib, png and freetype that may be on your system.
The recommended and supported way to build is to use the make.osx file
in this directory.  This script requires you to set a PREFIX
environment variable where you want the install to go.  It will
fetch the dependencies from a remote server and install them into your
PREFIX dir, and then build mpl against them.  It should ignore any
lib, png or freetype on your system

Example usage::

  make -f make.osx PREFIX=/Users/jdhunter/dev PYVERSION=2.6 \
    fetch deps mpl_install_std

Variables:
    PREFIX (required): where to install the dependencies
    PYVERSION (optional): which python version to use
       (default=python, e.g. PYVERSION=2.6 uses python2.6)

Targets:

  clean: remove compiled files
  fetch: download dependencies
  deps: build all dependencies (zlib, png, freetype)
  mpl_build: compile matplotlib
  mpl_install: install matplotlib in $PREFIX/lib/pythonX.Y/site-packages
  mpl_install_std: install matplotlib in standard site-packages directory
  mpl_install_egg: install matplotlib as an egg
  mpl_install_develop: set up egg link to working directory (for developers)
  binaries: create the dmg file for distribution
Something went wrong with that request. Please try again.