Re: [Matplotlib-users] Pareto diagram - align cumulative percentage marker in the middle of the bars

2009-08-26 Thread Werner F. Bruhin
Chris, Christopher Barker wrote: Werner F. Bruhin wrote: The other problem I have is that the xtick_labels are cut off at the bottom when the frame is resized below a certain size. How can I prevent this? I don't think MPL yet has a system for making things fit, so you need to change

[Matplotlib-users] Pareto diagram - align cumulative percentage marker in the middle of the bars

2009-08-25 Thread Werner F. Bruhin
I trying to create a Pareto diagram and would like that the percentage marker is center aligned on the bars, i.e. the blue point should be center aligned on the bar instead of to be aligned on the left edge in the following image. The other problem I have is that the xtick_labels are cut

Re: [Matplotlib-users] Pareto diagram - align cumulative percentage marker in the middle of the bars

2009-08-25 Thread Jouni K . Seppänen
Werner F. Bruhin werner.bru...@free.fr writes: I trying to create a Pareto diagram and would like that the percentage marker is center aligned on the bars, Perhaps the easiest solution is to use bar(...,align='center'). -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [Matplotlib-users] Pareto diagram - align cumulative percentage marker in the middle of the bars

2009-08-25 Thread Werner F. Bruhin
Jouni K. Seppänen wrote: Werner F. Bruhin werner.bru...@free.fr writes: I trying to create a Pareto diagram and would like that the percentage marker is center aligned on the bars, Perhaps the easiest solution is to use bar(...,align='center'). Thanks, that does the trick for

Re: [Matplotlib-users] Pareto diagram - align cumulative percentage marker in the middle of the bars

2009-08-25 Thread Christopher Barker
Werner F. Bruhin wrote: The other problem I have is that the xtick_labels are cut off at the bottom when the frame is resized below a certain size. How can I prevent this? I don't think MPL yet has a system for making things fit, so you need to change the size/position of your axes object: