Python Data Analysis Library — pandas: Python Data Analysis Library. Cookbook/Matplotlib - The cookbook is a place for community contributions of recipes, howtos and examples. Complete documentation and tutorials for matplotlib can be found at matplotlib's webpage Sigmoidal Functions - plotting simple functions Multiline Plots - how to plot multiple lines over one another. The Matplotlib API — Matplotlib 1.1.1 documentation. How-To — Matplotlib 1.1.1 documentation. Plotting: howto Find all objects in a figure of a certain type Every matplotlib artist (see Artist tutorial) has a method called findobj() that can be used to recursively search the artist for any artists it may contain that meet some criteria (eg match all Line2D instances or match some arbitrary filter function).
For example, the following snippet finds every object in the figure which has a set_color property and makes the object blue: def myfunc(x): return hasattr(x, 'set_color') for o in fig.findobj(myfunc): o.set_color('blue')