type1font

type1font matplotlib.type1font This module contains a class representing a Type 1 font. This version reads pfa and pfb files and splits them for embedding in pdf files. It also supports SlantFont and ExtendFont transformations, similarly to pdfTeX and friends. There is no support yet for subsetting. Usage: >>> font = Type1Font(filename) >>> clear_part, encrypted_part, finale = font.parts >>> slanted_font = font.transform({'slant': 0.167}) >>> extended_font =

dates

dates matplotlib.dates Matplotlib provides sophisticated date plotting capabilities, standing on the shoulders of python datetime, the add-on modules pytz and dateutil. datetime objects are converted to floating point numbers which represent time in days since 0001-01-01 UTC, plus 1. For example, 0001-01-01, 06:00 is 1.25, not 0.25. The helper functions date2num(), num2date() and drange() are used to facilitate easy conversion to and from datetime and numeric ranges. Note Like Python?s dat

tri

triangular grids matplotlib.tri Unstructured triangular grid functions. class matplotlib.tri.Triangulation(x, y, triangles=None, mask=None) An unstructured triangular grid consisting of npoints points and ntri triangles. The triangles can either be specified by the user or automatically generated using a Delaunay triangulation. Parameters: x, y : array_like of shape (npoints) Coordinates of grid points. triangles : integer array_like of shape (ntri, 3), optional For each triangle, the i

cbook

cbook matplotlib.cbook A collection of utility functions and classes. Originally, many (but not all) were from the Python Cookbook ? hence the name cbook. This module is safe to import from anywhere within matplotlib; it imports matplotlib only at runtime. class matplotlib.cbook.Bunch(**kwds) Bases: object Often we want to just collect a bunch of stuff together, naming each item of the bunch; a dictionary?s OK for that, but a small do- nothing class is even handier, and prettier to use. Whe

collections

collections matplotlib.collections Classes for the efficient drawing of large collections of objects that share most properties, e.g., a large number of line segments or polygons. The classes are not meant to be as flexible as their single element counterparts (e.g., you may not be able to select all line styles) but they are meant to be fast for common use cases (e.g., a large set of solid line segemnts) class matplotlib.collections.AsteriskPolygonCollection(numsides, rotation=0, sizes=(1

widgets

widgets matplotlib.widgets GUI neutral widgets Widgets that are designed to work for any of the GUI backends. All of these widgets require you to predefine a matplotlib.axes.Axes instance and pass that as the first arg. matplotlib doesn?t try to be too smart with respect to layout ? you will have to figure out how wide and tall you want your Axes to be to accommodate your widget. class matplotlib.widgets.AxesWidget(ax) Bases: matplotlib.widgets.Widget Widget that is connected to a single A

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

offsetbox

offsetbox matplotlib.offsetbox The OffsetBox is a simple container artist. The child artist are meant to be drawn at a relative position to its parent. The [VH]Packer, DrawingArea and TextArea are derived from the OffsetBox. The [VH]Packer automatically adjust the relative postisions of their children, which should be instances of the OffsetBox. This is used to align similar artists together, e.g., in legend. The DrawingArea can contain any Artist as a child. The DrawingArea has a fixed width

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