Jae-Joon Lee wrote:
> You need to adjust the positions of the ticks.
> bar command (by default) creates boxes so that their left side
> corresponds the first argument.
>
> http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.bar
>
> so, in your case, something like below will wor
Eric,
Eric Firing wrote:
> Werner F. Bruhin wrote:
>> Werner F. Bruhin wrote:
>> ...
>>> Ideally I would like to have these labels printed at an angle.
>> Put my glasses on and found the rotation property in the
>> documentation, only issue left is centering the labels below the bars.
>
> Are you
Werner F. Bruhin wrote:
> Werner F. Bruhin wrote:
> ...
>> Ideally I would like to have these labels printed at an angle.
> Put my glasses on and found the rotation property in the documentation,
> only issue left is centering the labels below the bars.
Are you using the align='center' kwarg to b
You need to adjust the positions of the ticks.
bar command (by default) creates boxes so that their left side
corresponds the first argument.
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.bar
so, in your case, something like below will work (0.4 from 0.8/2 where
0.8 is t
Werner F. Bruhin wrote:
...
> Ideally I would like to have these labels printed at an angle.
Put my glasses on and found the rotation property in the documentation,
only issue left is centering the labels below the bars.
Werner
--
My lables for the different bars are not centered below the bar but are
all to the left side of the bars (lower left corner).
This is what I am basically doing:
axes = panel.figure.add_subplot(2, 2, 3)
...
axes.bar(indx, values, color=colors)
axes.set_xticklabels(lab