Logo Search packages:      
Sourcecode: matplotlib version File versions

matplotlib Namespace Reference


Detailed Description

-0.98.5.2setup

-0.98.5.2setupext

-0.98.5.2setupegg

This is an object-orient plotting library.

A procedural interface is provided by the companion pylab module,
which may be imported directly, e.g::

    from pylab import *

or using ipython::

    ipython -pylab

For the most part, direct use of the object-oriented library is
encouraged when programming rather than working interactively.  The
exceptions are the pylab commands :func:`~matplotlib.pyplot.figure`,
:func:`~matplotlib.pyplot.subplot`,
:func:`~matplotlib.backends.backend_qt4agg.show`, and
:func:`~pyplot.savefig`, which can greatly simplify scripting.

Modules include:

    :mod:`matplotlib.axes`
defines the :class:`~matplotlib.axes.Axes` class.  Most pylab
commands are wrappers for :class:`~matplotlib.axes.Axes`
methods.  The axes module is the highest level of OO access to
the library.

    :mod:`matplotlib.figure`
defines the :class:`~matplotlib.figure.Figure` class.

    :mod:`matplotlib.artist`
defines the :class:`~matplotlib.artist.Artist` base class for
all classes that draw things.

    :mod:`matplotlib.lines`
defines the :class:`~matplotlib.lines.Line2D` class for
drawing lines and markers

    :mod`matplotlib.patches`
defines classes for drawing polygons

    :mod:`matplotlib.text`
defines the :class:`~matplotlib.text.Text`,
:class:`~matplotlib.text.TextWithDash`, and
:class:`~matplotlib.text.Annotate` classes

    :mod:`matplotlib.image`
defines the :class:`~matplotlib.image.AxesImage` and
:class:`~matplotlib.image.FigureImage` classes

    :mod:`matplotlib.collections`
classes for efficient drawing of groups of lines or polygons

    :mod:`matplotlib.colors`
classes for interpreting color specifications and for making
colormaps

    :mod:`matplotlib.cm`
colormaps and the :class:`~matplotlib.image.ScalarMappable`
mixin class for providing color mapping functionality to other
classes

    :mod:`matplotlib.ticker`
classes for calculating tick mark locations and for formatting
tick labels

    :mod:`matplotlib.backends`
a subpackage with modules for various gui libraries and output
formats

The base matplotlib namespace includes:

    :data:`~matplotlib.rcParams`
a global dictionary of default configuration settings.  It is
initialized by code which may be overridded by a matplotlibrc
file.

    :func:`~matplotlib.rc`
a function for setting groups of rcParams values

    :func:`~matplotlib.use`
a function for setting the matplotlib backend.  If used, this
function must be called immediately after importing matplotlib
for the first time.  In particular, it must be called
**before** importing pylab (if pylab is imported).

matplotlib is written by John D. Hunter (jdh2358 at gmail.com) and a
host of others.

You will need to have freetype, libpng and zlib installed to comile
matplotlib, inlcuding the *-devel versions of these libraries if you
are using a package manager like RPM or debian.

The matplotlib build options can be modified with a setup.cfg file. See
setup.cfg.template for more information.

Poor man's setuptools script...

Some helper functions for building the C extensions

you may need to edit basedir to point to the default location of your
required libs, eg, png, z, freetype

DARWIN

  I have installed all of the backends on OSX.

  Tk: If you want to install TkAgg, I recommend the "batteries included"
  binary build of Tcl/Tk at
  http://www.apple.com/downloads/macosx/unix_open_source/tcltkaqua.html

  GTK: I installed GTK from src as described at
  http://www.macgimp.org/index.php?topic=gtk.  There are several
  packages, but all configure/make/make install w/o problem.  In
  addition to the packages listed there, You will also need libpng,
  libjpeg, and libtiff if you want output to these formats from GTK.

WIN32 - MINGW

  If you are sufficiently masochistic that you want to build this
  yourself, download the win32_static dir from
  http://matplotlib.sourceforge.net/win32_static.tar.gz and
  see the README file in that dir

  > python setup.py build --compiler=mingw32 bdist_wininst  > build23.out

  NOTE, if you are building on python24 on win32, see
  http://mail.python.org/pipermail/python-list/2004-December/254826.html

WIN32 - VISUAL STUDIO 7.1 (2003)

  This build is similar to the mingw.  Download the visual studio static
  dependencies from
  http://matplotlib.sourceforge.net/win32_static_vs.tar.gz and
  see the README in that dir

  > python setup.py build --compiler=msvc bdist_wininst


Classes

class  RcParams
class  Verbose

Namespaces

namespace  _cm
namespace  _mathtext_data
namespace  afm
namespace  axis
namespace  backend_bases
namespace  bezier
namespace  blocking_input
namespace  cbook
namespace  cm
namespace  collections
namespace  colorbar
namespace  colors
namespace  contour
namespace  delaunay
namespace  dviread
namespace  figure
namespace  finance
namespace  font_manager
namespace  fontconfig_pattern
namespace  image
namespace  legend
namespace  lines
namespace  mlab
namespace  numerix
namespace  offsetbox
namespace  path
namespace  pylab
namespace  quiver
namespace  rcsetup
namespace  table
namespace  texmanager
namespace  text
namespace  ticker
namespace  transforms
namespace  type1font
namespace  units
namespace  widgets

Functions

def _get_configdir
def _get_data_path
def _get_data_path_cached
def _get_home
def _is_writable_dir
def checkdep_dvipng
def checkdep_ghostscript
def checkdep_pdftops
def checkdep_ps_distiller
def checkdep_tex
def checkdep_usetex
def compare_versions
def get_backend
def get_example_data
def get_py2exe_datafiles
def interactive
def is_interactive
def is_string_like
def matplotlib_fname
def rc
def rc_params
def rcdefaults
def tk_window_focus
def use

Variables

string __date__ = '$Date: 2008-12-18 04:10:51 -0800 (Thu, 18 Dec 2008) $'
string __revision__ = '$Revision: 6660 $'
string __version__ = '0.98.5.2'
dictionary _deprecated_map
 _havedate = True
int _python24 = 2
string _use_error_msg
tuple get_configdir = verbose.wrap('CONFIGDIR=%s', _get_configdir, always=False)
tuple get_data_path
tuple get_home = verbose.wrap('$HOME=%s', _get_home, always=False)
 NEWCONFIG = False
tuple nn = numpy.__version__.split('.')
tuple rcParams = rc_params()
tuple rcParamsDefault


Generated by  Doxygen 1.6.0   Back to index