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

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

projections

projections matplotlib.projections class matplotlib.projections.ProjectionRegistry Bases: object Manages the set of projections available to the system. get_projection_class(name) Get a projection class from its name. get_projection_names() Get a list of the names of all projections currently registered. register(*projections) Register a new set of projection(s). matplotlib.projections.get_projection_class(projection=None) Get a projection class from its name. If projectio

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

patheffects

patheffects matplotlib.patheffects Defines classes for path effects. The path effects are supported in Text, Line2D and Patch. class matplotlib.patheffects.AbstractPathEffect(offset=(0.0, 0.0)) Bases: object A base class for path effects. Subclasses should override the draw_path method to add effect functionality. Parameters: offset : pair of floats The offset to apply to the path, measured in points. draw_path(renderer, gc, tpath, affine, rgbFace=None) Derived should override this m

path

path matplotlib.path A module for dealing with the polylines used throughout matplotlib. The primary class for polyline handling in matplotlib is Path. Almost all vector drawing makes use of Paths somewhere in the drawing pipeline. Whilst a Path instance itself cannot be drawn, there exists Artist subclasses which can be used for convenient Path visualisation - the two most frequently used of these are PathPatch and PathCollection. class matplotlib.path.Path(vertices, codes=None, _interpolati

patches

patches matplotlib.patches class matplotlib.patches.Arc(xy, width, height, angle=0.0, theta1=0.0, theta2=360.0, **kwargs) Bases: matplotlib.patches.Ellipse An elliptical arc. Because it performs various optimizations, it can not be filled. The arc must be used in an Axes instance?it can not be added directly to a Figure?because it is optimized to only render the segments that are inside the axes bounding box with high resolution. The following args are supported: xy center of ellipse width

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

mplot3d

mplot3d API axes3d axis3d art3d proj3d axes3d Note Significant effort went into bringing axes3d to feature-parity with regular axes objects for version 1.1.0. However, more work remains. Please report any functions that do not behave as expected as a bug. In addition, help and patches would be greatly appreciated! Module containing Axes3D, an object which can plot 3D objects on a 2D matplotlib figure. class mpl_toolkits.mplot3d.axes3d.Axes3D(fig, rect=None, *args, **kwargs) Bas

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