Re: [Matplotlib-users] legend text vertical alignment

2008-09-14 Thread Robin
Thanks for your help. I have been getting on OK with manual adjustment. I thought I would point out a similar problem though which I suspect is the same thing. If I am using latex tick labels for a bar graph, the tick labels with superscripts have a lower baseline than tick labels without supers

Re: [Matplotlib-users] legend text vertical alignment

2008-08-19 Thread Michael Droettboom
My last response was sent before reading this. I think you've found the reason why it's not as easy as it seems... I think your suggestion (to manually adjust) is good for now. I'll see if I can find time to look at this when I get back. Cheers, Mike -

Re: [Matplotlib-users] legend text vertical alignment

2008-08-19 Thread Michael Droettboom
I'm out of town, so it's hard for me to look deeply into this now, but 0.91 and later supports "baseline" vertical alignment, but the legend layout code doesn't use it by default. It may be as simple as setting valign to "baseline" in the legend text -- or there may be a subtle interaction with

Re: [Matplotlib-users] legend text vertical alignment

2008-08-18 Thread Darren Dale
On Monday 18 August 2008 10:45:39 am Darren Dale wrote: > On Monday 18 August 2008 09:48:58 am you wrote: > > Hi, > > > > On Mon, Aug 18, 2008 at 2:25 PM, Darren Dale <[EMAIL PROTECTED]> wrote: > > > Could you post a *simple* script that reproduces the problem? And in > > > the meantime, to get a f

Re: [Matplotlib-users] legend text vertical alignment

2008-08-18 Thread Darren Dale
On Monday 18 August 2008 09:48:58 am you wrote: > Hi, > > On Mon, Aug 18, 2008 at 2:25 PM, Darren Dale <[EMAIL PROTECTED]> wrote: > > Could you post a *simple* script that reproduces the problem? And in the > > meantime, to get a figure that looks better for your publication, can you > > save your

Re: [Matplotlib-users] legend text vertical alignment

2008-08-18 Thread Robin
Hi, On Mon, Aug 18, 2008 at 2:25 PM, Darren Dale <[EMAIL PROTECTED]> wrote: > Could you post a *simple* script that reproduces the problem? And in the > meantime, to get a figure that looks better for your publication, can you > save your figure as an svg, import it into inkscape, tweak the bad pl

Re: [Matplotlib-users] legend text vertical alignment

2008-08-18 Thread Darren Dale
Hi Robin, Could you post a *simple* script that reproduces the problem? And in the meantime, to get a figure that looks better for your publication, can you save your figure as an svg, import it into inkscape, tweak the bad placement, and then save a pdf? Darren On Monday 18 August 2008 08:4

Re: [Matplotlib-users] legend text vertical alignment

2008-08-18 Thread Robin
Hi, I was wondering if anyone was able to help with this problem of incorrect legend alignment. I am not sure if the original mail did not get through, perhaps because of the attachent, so this time I have put the example here: http://acrids.robince.net/robince/bad_legend.pdf Publication is now

[Matplotlib-users] legend text vertical alignment

2008-07-10 Thread Robin
Hi, I have a problem with legends where the vertical spacing is sometimes a bit funny (lines don't seem to be evenly spaced). I am now preparing some figures for publication and this is the last niggle I'd really like to resolve. Is there anything I could do to fix this? A small example is atta