From: Paul H. <pmh...@gm...> - 2012-03-20 00:47:04
|
Sorry...That first line should be: fig, axes = plt.subplots(ncols=3) # note: subplotS not subplot On Mon, Mar 19, 2012 at 5:45 PM, Paul Hobson <pmh...@gm...> wrote: > Try it like this: > > fig, axes = plt.subplots(3,1,1) > ax1, ax2, ax3 = axes > p1, = ax1.plot(self.data0,self.data1) > p2, = ax2.plot(self.data0,self.data2) > p3, = ax3.plot(self.data0,self.data4) > for ax in axes: > ax.set_xticks([]) > > -paul |