Re: [Matplotlib-users] x label is shifted by 1 tick

2007-08-26 Thread John Hunter
On 8/25/07, Deen Sethanandha <[EMAIL PROTECTED]> wrote: > Could someone help me figure out how I can move the x lebel to match > the bar chart? When using rotated ticks, if you do not set the horizontal alignment to 'right' they will look misaligned, as in your example. Recent versions of mpl hav

Re: [Matplotlib-users] x label is shifted by 1 tick

2007-08-25 Thread Deen Sethanandha
Could someone help me figure out how I can move the x lebel to match the bar chart? Thanks, Deen On 8/19/07, Deen Sethanandha <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to plot a graph as shown. > http://trac-hacks.org/attachment/wiki/TracMetrixDashboard/cummulative.PNG > > I am not sur

[Matplotlib-users] x label is shifted by 1 tick

2007-08-19 Thread Deen Sethanandha
Hi, I am trying to plot a graph as shown. http://trac-hacks.org/attachment/wiki/TracMetrixDashboard/cummulative.PNG I am not sure why the label start at the point 1 instead of point 0. Here is the code that is used to generate the graph. matplotlib.use(*'Agg'*) fig = figure() ax = fig.a