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

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

markers

markers matplotlib.markers This module contains functions to handle markers. Used by both the marker functionality of plot and scatter. All possible markers are defined here: marker description ?.? point ?,? pixel ?o? circle ?v? triangle_down ?^? triangle_up ?<? triangle_left ?>? triangle_right ?1? tri_down ?2? tri_up ?3? tri_left ?4? tri_right ?8? octagon ?s? square ?p? pentagon ?*? star ?h? hexagon1 ?H? hexagon2 ?+? plus ?x? x ?D? diamond ?d? thin_diamond ?|? vline ?_? hline TICKLEFT t

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

legend and legend_handler

legend and legend_handler matplotlib.legend The legend module defines the Legend class, which is responsible for drawing legends associated with axes and/or figures. Important It is unlikely that you would ever create a Legend instance manually. Most users would normally create a legend via the legend() function. For more details on legends there is also a legend guide. The Legend class can be considered as a container of legend handles and legend texts. Creation of corresponding legend hand

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

gridspec

gridspec matplotlib.gridspec gridspec is a module which specifies the location of the subplot in the figure. GridSpec specifies the geometry of the grid that a subplot will be placed. The number of rows and number of columns of the grid need to be set. Optionally, the subplot layout parameters (e.g., left, right, etc.) can be tuned. SubplotSpec specifies the location of the subplot in the given GridSpec. class matplotlib.gridspec.GridSpec(nrows, ncols, left=None, bottom=None, right=Non

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

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

figure

figure matplotlib.figure The figure module provides the top-level Artist, the Figure, which contains all the plot elements. The following classes are defined SubplotParams control the default spacing of the subplots Figure top level container for all plot elements class matplotlib.figure.AxesStack Bases: matplotlib.cbook.Stack Specialization of the Stack to handle all tracking of Axes in a Figure. This stack stores key, (ind, axes) pairs, where: key should be a hash of the args an