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 =

scale

scale matplotlib.scale class matplotlib.scale.InvertedLog10Transform(shorthand_name=None) Bases: matplotlib.transforms.Transform Creates a new TransformNode. shorthand_name - a string representing the ?name? of this transform. The name carries no significance other than to improve the readability of str(transform) when DEBUG=True. base = 10.0 has_inverse = True input_dims = 1 inverted() is_separable = True output_dims = 1 transform_non_affine(a) class matplotlib.sc

backend_managers

matplotlib.backend_managers ToolManager Class that makes the bridge between user interaction (key press, toolbar clicks, ..) and the actions in response to the user inputs. class matplotlib.backend_managers.ToolEvent(name, sender, tool, data=None) Bases: object Event for tool manipulation (add/remove) class matplotlib.backend_managers.ToolManager(canvas) Bases: object Helper class that groups all the user interactions for a FigureManager Attributes manager: FigureManager keypre

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

sankey

sankey matplotlib.sankey Module for creating Sankey diagrams using matplotlib class matplotlib.sankey.Sankey(ax=None, scale=1.0, unit='', format='%G', gap=0.25, radius=0.1, shoulder=0.03, offset=0.15, head_angle=100, margin=0.4, tolerance=1e-06, **kwargs) Bases: object Sankey diagram in matplotlib Sankey diagrams are a specific type of flow diagram, in which the width of the arrows is shown proportionally to the flow quantity. They are typically used to visualize energy or material or cost

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

axes_grid.axes_grid

mpl_toolkits.axes_grid.axes_grid class mpl_toolkits.axes_grid.axes_grid.Grid(fig, rect, nrows_ncols, ngrids=None, direction='row', axes_pad=0.02, add_all=True, share_all=False, share_x=True, share_y=True, label_mode='L', axes_class=None) Build an Grid instance with a grid nrows*ncols Axes in Figure fig with rect=[left, bottom, width, height] (in Figure coordinates) or the subplot position code (e.g., ?121?). Optional keyword arguments: Keyword Default Description direction ?row? [ ?row? | ?

plotting commands summary

Plotting commands summary matplotlib.pyplot.plotting() Function Description acorr Plot the autocorrelation of x. angle_spectrum Plot the angle spectrum. annotate Annotate the point xy with text s. arrow Add an arrow to the axes. autoscale Autoscale the axis view to the data (toggle). axes Add an axes to the figure. axhline Add a horizontal line across the axis. axhspan Add a horizontal span (rectangle) across the axis. axis Convenience method to get or set axis properties. axvline Add a vert

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

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