Re: [Matplotlib-users] Chart plotting blank?

2007-06-06 Thread John Hunter
On 6/5/07, Erik Wickstrom [EMAIL PROTECTED] wrote: ax = fig.add_subplot(111) #from pylab import * N = 7 menMeans = (20, 35, 30, 35, 27, 21, 60) ind = arange(N) # the x locations for the groups #print ind width = 0.35 # the width of the bars ax =

[Matplotlib-users] Chart plotting blank?

2007-06-05 Thread Erik Wickstrom
Hi, I'm trying to plot a barchart for use in a django site. It's creating a blank chart image though.(attached). What am I doing wrong? from pylab import * def chart(request): from PIL import Image as PILImage from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas