Animated Bar Graphs with Matplotlib and PyQt4
The new Matplotlib book shows how to animate line drawing. What I really needed was bar graphs. I didn’t see an example of animating bar graphs in the book (probably because it is follows naturally from the line animation example). The bar graph documentation for matplotib shows how to create a set of bar graphs. The code for animated bars is below. import sys from PyQt4 import QtGui from matplotlib.figure import Figure from matplotlib....