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

backends

backends matplotlib.backend_bases matplotlib.backend_managers matplotlib.backend_tools matplotlib.backends.backend_gtkagg matplotlib.backends.backend_qt4agg matplotlib.backends.backend_wxagg matplotlib.backends.backend_pdf

backends.backend_qt4agg

matplotlib.backends.backend_qt4agg Render to qt from agg matplotlib.backends.backend_qt4agg.FigureCanvas alias of FigureCanvasQTAgg class matplotlib.backends.backend_qt4agg.FigureCanvasQTAgg(figure) Bases: matplotlib.backends.backend_qt4agg.FigureCanvasQTAggBase, matplotlib.backends.backend_qt4.FigureCanvasQT, matplotlib.backends.backend_agg.FigureCanvasAgg The canvas the figure renders into. Calls the draw and print fig methods, creates the renderers, etc... Public attribute figure -

style

style matplotlib.style matplotlib.style.context(style, after_reset=False) Context manager for using style settings temporarily. Parameters: style : str, dict, or list A style specification. Valid options are: str The name of a style or a path/URL to a style file. For a list of available style names, see style.available. dict Dictionary with valid key/value pairs for matplotlib.rcParams. list A list of style specifiers (str or dict) applied from first to last in the list. after_reset : boo

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

backends.backend_pdf

matplotlib.backends.backend_pdf A PDF matplotlib backend Author: Jouni K Seppen <jks@iki.fi> matplotlib.backends.backend_pdf.FigureCanvas alias of FigureCanvasPdf class matplotlib.backends.backend_pdf.FigureCanvasPdf(figure) Bases: matplotlib.backend_bases.FigureCanvasBase The canvas the figure renders into. Calls the draw and print fig methods, creates the renderers, etc... Public attribute figure - A Figure instance class matplotlib.backends.backend_pdf.Name(name) Bases:

dviread

dviread matplotlib.dviread An experimental module for reading dvi files output by TeX. Several limitations make this not (currently) useful as a general-purpose dvi preprocessor, but it is currently used by the pdf backend for processing usetex text. Interface: dvi = Dvi(filename, 72) # iterate over pages (but only one page is supported for now): for page in dvi: w, h, d = page.width, page.height, page.descent for x,y,font,glyph,width in page.text: fontname = font.texname

backend_bases

matplotlib.backend_bases Abstract base classes define the primitives that renderers and graphics contexts must implement to serve as a matplotlib backend RendererBase An abstract base class to handle drawing/rendering operations. FigureCanvasBase The abstraction layer that separates the matplotlib.figure.Figure from the backend specific details like a user interface drawing area GraphicsContextBase An abstract base class that provides color, line styles, etc... Event The base class

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

backends.backend_gtkagg

matplotlib.backends.backend_gtkagg TODO We?ll add this later, importing the gtk backends requires an active X-session, which is not compatible with cron jobs.