animation

animation matplotlib.animation class matplotlib.animation.AVConvBase Bases: matplotlib.animation.FFMpegBase args_key = 'animation.avconv_args' exec_key = 'animation.avconv_path' class matplotlib.animation.AVConvFileWriter(*args, **kwargs) Bases: matplotlib.animation.AVConvBase, matplotlib.animation.FFMpegFileWriter class matplotlib.animation.AVConvWriter(fps=5, codec=None, bitrate=None, extra_args=None, metadata=None) Bases: matplotlib.animation.AVConvBase, matplotlib.anim

colors

colors For a visual representation of the matplotlib colormaps, see the ?Color? section in the gallery. matplotlib.colors A module for converting numbers or color arguments to RGB or RGBA RGB and RGBA are sequences of, respectively, 3 or 4 floats in the range 0-1. This module includes functions and classes for color specification conversions, and for mapping numbers to colors in a 1-D array of colors called a colormap. Colormapping typically involves two steps: a data array is first mapped ont

image

image matplotlib.image The image module supports basic image loading, rescaling and display operations. class matplotlib.image.AxesImage(ax, cmap=None, norm=None, interpolation=None, origin=None, extent=None, filternorm=1, filterrad=4.0, resample=False, **kwargs) Bases: matplotlib.image._AxesImageBase interpolation and cmap default to their rc settings cmap is a colors.Colormap instance norm is a colors.Normalize instance to map luminance to 0-1 extent is data axes (left, right, bottom, top

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

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

matplotlib

The top level matplotlib module matplotlib.use(arg, warn=True, force=False) Set the matplotlib backend to one of the known backends. The argument is case-insensitive. warn specifies whether a warning should be issued if a backend has already been set up. force is an experimental flag that tells matplotlib to attempt to initialize a new backend by reloading the backend module. Note This function must be called before importing pyplot for the first time; or, if you are not using pyplot, it mu

lines

lines matplotlib.lines This module contains all the 2D line class which can draw with a variety of line styles, markers and colors. class matplotlib.lines.Line2D(xdata, ydata, linewidth=None, linestyle=None, color=None, marker=None, markersize=None, markeredgewidth=None, markeredgecolor=None, markerfacecolor=None, markerfacecoloralt='none', fillstyle=None, antialiased=None, dash_capstyle=None, solid_capstyle=None, dash_joinstyle=None, solid_joinstyle=None, pickradius=5, drawstyle=None, markev

axes

axes matplotlib.axes class matplotlib.axes.Axes(fig, rect, axisbg=None, frameon=True, sharex=None, sharey=None, label='', xscale=None, yscale=None, **kwargs) The Axes contains most of the figure elements: Axis, Tick, Line2D, Text, Polygon, etc., and sets the coordinate system. The Axes instance supports callbacks through a callbacks attribute which is a CallbackRegistry instance. The events you can connect to are ?xlim_changed? and ?ylim_changed? and the callback will be called with func(ax

backends.backend_wxagg

matplotlib.backends.backend_wxagg matplotlib.backends.backend_wxagg.FigureCanvas alias of FigureCanvasWxAgg class matplotlib.backends.backend_wxagg.FigureCanvasWxAgg(parent, id, figure) Bases: matplotlib.backends.backend_agg.FigureCanvasAgg, matplotlib.backends.backend_wx.FigureCanvasWx The FigureCanvas contains the figure and does event handling. In the wxPython backend, it is derived from wxPanel, and (usually) lives inside a frame instantiated by a FigureManagerWx. The parent window