| matplotlib (version 1.0.0, $Date: 2010-07-06 08:56:31 -0500 (Tue, 06 Jul 2010) $) | index /astro-wise/awehome/Linux-fedora-6-x86_64/AWBASE/common/lib/python2.7/site-packages/matplotlib/__init__.py |
This is an object-orient plotting library.
A procedural interface is provided by the companion pyplot module,
which may be imported directly, e.g::
from matplotlib.pyplot import *
To include numpy functions too, use::
from pylab import *
or using ipython::
ipython -pylab
For the most part, direct use of the object-oriented library is
encouraged when programming; pyplot is primarily for working
interactively. The
exceptions are the pyplot commands :func:`~matplotlib.pyplot.figure`,
:func:`~matplotlib.pyplot.subplot`,
:func:`~matplotlib.pyplot.subplots`,
: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 was initially written by John D. Hunter (jdh2358 at
gmail.com) and is now developed and maintained by a host of others.
Occasionally the internal documentation (python docstrings) will refer
to MATLAB®, a registered trademark of The MathWorks, Inc.
| Classes | ||||||||||||||||||
|
| ||||||||||||||||||
| Functions | ||
| ||
| Data | ||
| __date__ = '$Date: 2010-07-06 08:56:31 -0500 (Tue, 06 Jul 2010) $' __revision__ = '$Revision: 8503 $' __version__ = '1.0.0' default = 'upper' defaultParams = {'agg.path.chunksize': [0, <function validate_int>], 'axes.axisbelow': [False, <function validate_bool>], 'axes.color_cycle': [['b', 'g', 'r', 'c', 'm', 'y', 'k'], <function validate_colorlist>], 'axes.edgecolor': ['k', <function validate_color>], 'axes.facecolor': ['w', <function validate_color>], 'axes.formatter.limits': [[-7, 7], <matplotlib.rcsetup.validate_nseq_int instance>], 'axes.grid': [False, <function validate_bool>], 'axes.hold': [True, <function validate_bool>], 'axes.labelcolor': ['k', <function validate_color>], 'axes.labelsize': ['medium', <function validate_fontsize>], ...} default_test_modules = ['matplotlib.tests.test_agg', 'matplotlib.tests.test_backend_svg', 'matplotlib.tests.test_basic', 'matplotlib.tests.test_cbook', 'matplotlib.tests.test_mlab', 'matplotlib.tests.test_transforms', 'matplotlib.tests.test_axes', 'matplotlib.tests.test_dates', 'matplotlib.tests.test_spines', 'matplotlib.tests.test_image', 'matplotlib.tests.test_simplification', 'matplotlib.tests.test_mathtext'] generators = _Feature((2, 2, 0, 'alpha', 1), (2, 3, 0, 'final', 0), 0) key = 'image.origin' major = 2 minor1 = 7 minor2 = 1 n = '5' nmajor = 1 nminor = 5 rcParams = {'figure.subplot.right': 0.9, 'mathtext.cal': 'c... True, 'keymap.back': ['left', 'c', 'backspace']} rcParamsDefault = {'figure.subplot.right': 0.9, 'mathtext.cal': 'c... True, 'keymap.back': ['left', 'c', 'backspace']} s = 'final' tmp = 0 validate_cairo_format = <matplotlib.rcsetup.ValidateInStrings instance> validate_toolbar = <matplotlib.rcsetup.ValidateInStrings instance> verbose = <matplotlib.Verbose instance> | ||