|
1 |
| -Find file: ~/Desktop/ |
| 1 | +matplotlib for MacOS X 10.3.9 or later and Python 2.5 and Python 2.6 |
| 2 | + |
| 3 | +matplotlib is a python 2D plotting library which produces publication |
| 4 | +quality figures in a variety of hardcopy formats and interactive |
| 5 | +environments across platforms. matplotlib can be used in python |
| 6 | +scripts, the python and ipython shell (ala matlab or mathematica), web |
| 7 | +application servers, and various graphical user interface toolkits. |
| 8 | + |
| 9 | +Home page: <http://matplotlib.sourceforge.net/> |
| 10 | + |
| 11 | +Before running matplotlib, you must install numpy. Binary installers |
| 12 | +for all these packages are available here: |
| 13 | + |
| 14 | + <http://pythonmac.org/packages/py25-fat/index.html>. |
| 15 | + |
| 16 | +*** Back Ends *** |
| 17 | + |
| 18 | +You may use TkAgg or WXAgg back ends; Qt and GTK support is not |
| 19 | +provided in this package. By default this matplotlib uses TkAgg |
| 20 | +because Tcl/Tk is included with MacOS X. |
| 21 | + |
| 22 | +If you wish to use WXAgg then: |
| 23 | +* Install wxPython from: |
| 24 | + <http://pythonmac.org/packages/py25-fat/index.html>. |
| 25 | +* Configure a matplotlibrc file, as described below. |
| 26 | + |
| 27 | +For TkAgg you may use Apple's built-in Tcl/Tk or install your own 8.4.x |
| 28 | + |
| 29 | +*** Configuring a matplotlibrc file *** |
| 30 | + |
| 31 | +If you wish to change any matplotlib settings, create a file: |
| 32 | + ~/.matplotlib/matplotlibrc |
| 33 | + |
| 34 | + |
| 35 | +that contains at least the following information. The values shown are |
| 36 | +the defaults in the internal matplotlibrc file; change them as you see |
| 37 | +fit: |
| 38 | + |
| 39 | +# the default backend; one of GTK GTKAgg GTKCairo FltkAgg QtAgg TkAgg WXAgg |
| 40 | +# Agg Cairo GD GDK Paint PS PDF SVG Template |
| 41 | +backend : TkAgg |
| 42 | +interactive : False # see http://matplotlib.sourceforge.net/interactive.html |
| 43 | + |
| 44 | +See also |
| 45 | +<http://matplotlib.sourceforge.net/users/customizing.html> |
0 commit comments