Hi John

2008/6/12 John Hunter <[EMAIL PROTECTED]>:
> On Thu, Jun 12, 2008 at 7:56 AM, Stéfan van der Walt <[EMAIL PROTECTED]> 
> wrote:
>
>> linestyle 'x' ---> legend  '   x   '
>> linestyle '-x' ---> legend '---x---'
>>
>> Has this been considered before?  If not, I'll write a patch.
>
> I think this is just something that has been overlooked.  The legend
> code is quite old, so don't be surprised if it looks a little crusty
> in there, as it was one of the early features, and it has been updated
> piecemeal with new features.  A patch would be great.

The idea I had was to plot two lines on top of each other: one for the
line-style, and one for the bullets.  Unfortunately, I can't get the
lines to co-incide.  Could you look at the attached toy-patch and tell
me where I am going wrong?  Note how the X is somewhat below the line.

Thanks
Stéfan

Attachment: matplotlib_legend.patch
Description: Binary data

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to