utes')
canvas.draw()
fig.savefig(OUTPUTFILE)
Seems to give me a default size of 1200x900 (which I assume is somehow
related to my screen size) - I've tried altering the fig = line as
follows:
fig = Figure(figsize=(8,6), dpi=100)
but can't seem to change the output size of the ima
Hmm, looks like I was just missing a third argument '-' from the
plot_date function.
Thanks, Tom
Forwarded Message ----
From: Tom Haddon <[EMAIL PROTECTED]>
To: John Hunter <[EMAIL PROTECTED]>
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-
On Wed, 2007-07-18 at 20:02 -0500, John Hunter wrote:
> On 7/18/07, Tom Haddon <[EMAIL PROTECTED]> wrote:
> > I think you mean it makes no assumption about the intervals between my
> > dates? If so, I must be missing something. How am I supposed to pass the
> > data to t
On Wed, 2007-07-18 at 18:37 -0500, John Hunter wrote:
> On 7/18/07, Tom Haddon <[EMAIL PROTECTED]> wrote:
> \> What I mean by this is that I'm not collecting the data at regular time
> > intervals. So I'd like to plot this, and have found that the plot_date
> &
7;)
ax.set_ylabel('Duration in Minutes')
canvas.draw()
imdata=StringIO()
fig.savefig(imdata,format='png')
return HttpResponse(imdata.getvalue(), mimetype='image/png')
Any help appreciated.
Thanks, Tom
--