On Wed, Feb 23, 2011 at 8:34 AM, Jeff
I'm looking for examples of creating a bar chart and then
a line chart on top of it (with the same y-axis). I haven't
much luck with Google (probably using the wrong search terms).
You should be able to just call the bar() function and then
call the plot() function using the same axes object. For
import numpy as np
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.gca()
xs = np.arange(10)
ys = np.random.rand(10)
I hope that helps!