[matplotlib-devel] legend marker clipping

2008-11-15 Thread Jozef Vesely
Hello,

legends outside axes display only line without markers.
Somebody forgot to unset clipping.

Bye

Jozef Vesely

--- matplotlib-0.98.3.orig/lib/matplotlib/legend.py 2008-08-03 
20:15:03.0 +0200
+++ matplotlib-0.98.3/lib/matplotlib/legend.py  2008-11-15 13:41:09.0 
+0100
@@ -270,6 +270,8 @@
 legline_marker.update_from(handle)
 legline_marker.set_linestyle('None')
 self._set_artist_props(legline_marker)
+legline_marker.set_clip_box(None)
+legline_marker.set_clip_path(None)
 # we don't want to add this to the return list because
 # the texts and handles are assumed to be in one-to-one
 # correpondence.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] legend marker clipping

2008-11-15 Thread John Hunter
On Sat, Nov 15, 2008 at 6:50 AM, Jozef Vesely <[EMAIL PROTECTED]> wrote:

> legends outside axes display only line without markers.
> Somebody forgot to unset clipping.

It appears Eric already fixed this in svn:

  r6127 | efiring | 2008-09-27 19:44:08 -0500 (Sat, 27 Sep 2008) | 4 lines

  Enhancement to Axes.spy, and bugfixes:
  figlegend was not plotting markers;
  plot could not handle empty input arrays.

So please give svn a test if you have a chance.  Thanks for the patch.

JDH

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel