pyplot

pyplot matplotlib.pyplot Provides a MATLAB-like plotting framework. pylab combines pyplot with numpy into a single namespace. This is convenient for interactive work, but for programming it is recommended that the namespaces be kept separate, e.g.: import numpy as np import matplotlib.pyplot as plt x = np.arange(0, 5, 0.1); y = np.sin(x) plt.plot(x, y) matplotlib.pyplot.acorr(x, hold=None, data=None, **kwargs) Plot the autocorrelation of x. Parameters: x : sequence of scalar hold : boole

mlab

mlab matplotlib.mlab Numerical python functions written for compatability with MATLAB commands with the same names. MATLAB compatible functions cohere() Coherence (normalized cross spectral density) csd() Cross spectral density uing Welch?s average periodogram detrend() Remove the mean or best fit line from an array find() Return the indices where some condition is true; numpy.nonzero is similar but more general. griddata() Interpolate irregularly distributed data to a regular

font_manager

font_manager matplotlib.font_manager A module for finding, managing, and using fonts across platforms. This module provides a single FontManager instance that can be shared across backends and platforms. The findfont() function returns the best TrueType (TTF) font file in the local or system font path that matches the specified FontProperties instance. The FontManager also handles Adobe Font Metrics (AFM) font files for use by the PostScript backend. The design is based on the W3C Cascading St

mathtext

mathtext matplotlib.mathtext mathtext is a module for parsing a subset of the TeX math syntax and drawing them to a matplotlib backend. For a tutorial of its usage see Writing mathematical expressions. This document is primarily concerned with implementation details. The module uses pyparsing to parse the TeX expression. The Bakoma distribution of the TeX Computer Modern fonts, and STIX fonts are supported. There is experimental support for using arbitrary fonts, but results may vary withou

spines

spines matplotlib.spines class matplotlib.spines.Spine(axes, spine_type, path, **kwargs) Bases: matplotlib.patches.Patch an axis spine ? the line noting the data area boundaries Spines are the lines connecting the axis tick marks and noting the boundaries of the data area. They can be placed at arbitrary positions. See function:set_position for more information. The default position is ('outward',0). Spines are subclasses of class:Patch, and inherit much of their behavior. Spines draw a lin

axes_grid.axes_size

mpl_toolkits.axes_grid.axes_size class mpl_toolkits.axes_grid.axes_size.Fixed(fixed_size) Simple fixed size with absolute part = fixed_size and relative part = 0 class mpl_toolkits.axes_grid.axes_size.Scaled(scalable_size) Simple scaled(?) size with absolute part = 0 and relative part = scalable_size class mpl_toolkits.axes_grid.axes_size.AxesX(axes, aspect=1.0, ref_ax=None) Scaled size whose relative part corresponds to the data width of the axes multiplied by the aspect. cl

finance

finance matplotlib.finance A collection of functions for collecting, analyzing and plotting financial data. User contributions welcome! This module is deprecated in 1.4 and will be moved to mpl_toolkits or it?s own project in the future. matplotlib.finance.candlestick2_ochl(ax, opens, closes, highs, lows, width=4, colorup='k', colordown='r', alpha=0.75) Represent the open, close as a bar line and high low range as a vertical line. Preserves the original argument order. Parameters: ax : Axe

afm

afm (Adobe Font Metrics interface) matplotlib.afm This is a python interface to Adobe Font Metrics Files. Although a number of other python implementations exist, and may be more complete than this, it was decided not to go with them because they were either: copyrighted or used a non-BSD compatible license had too many dependencies and a free standing lib was needed Did more than needed and it was easier to write afresh rather than figure out how to get just what was needed. It is pretty e

units

units matplotlib.units The classes here provide support for using custom classes with matplotlib, e.g., those that do not expose the array interface but know how to converter themselves to arrays. It also supoprts classes with units and units conversion. Use cases include converters for custom objects, e.g., a list of datetime objects, as well as for objects that are unit aware. We don?t assume any particular units implementation, rather a units implementation must provide a ConversionInterfac

artists

artists matplotlib.artist class matplotlib.artist.Artist Bases: object Abstract base class for someone who renders into a FigureCanvas. add_callback(func) Adds a callback function that will be called whenever one of the Artist?s properties changes. Returns an id that is useful for removing the callback with remove_callback() later. aname = 'Artist' axes The Axes instance the artist resides in, or None. contains(mouseevent) Test whether the artist contains the mouse event. R