legend 'boxoff'?

Hmm, that's odd, I still haven't seen my question go up.

I suppose I will re-ask it, then: turning the border off of the legend. Is there an easy way, like MATLAB's legend('boxoff')?

David

···

Begin forwarded message:

Is there a simple way to turn off the border of an inset legend?

Regards,

David

While it is not possible to toggle the box off during the
initialization, you can turn it off after the legend is created.

leg = legend()
leg._drawFrame=False

public methods and initialization option will be added in the future release.

Regards,

-JJ

···

On Fri, Oct 2, 2009 at 2:02 PM, David Warde-Farley <dwf@...386...> wrote:

Hmm, that's odd, I still haven't seen my question go up.

I suppose I will re-ask it, then: turning the border off of the
legend. Is there an easy way, like MATLAB's legend('boxoff')?

David

Begin forwarded message:

Is there a simple way to turn off the border of an inset legend?

Regards,

David

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

I just noticed that there IS a public method.
You may use

leg.draw_frame(False)

-JJ

···

On Fri, Oct 2, 2009 at 2:45 PM, Jae-Joon Lee <lee.j.joon@...287...> wrote:

While it is not possible to toggle the box off during the
initialization, you can turn it off after the legend is created.

leg = legend()
leg._drawFrame=False

public methods and initialization option will be added in the future release.

Regards,

-JJ

On Fri, Oct 2, 2009 at 2:02 PM, David Warde-Farley <dwf@...386...> wrote:

Hmm, that's odd, I still haven't seen my question go up.

I suppose I will re-ask it, then: turning the border off of the
legend. Is there an easy way, like MATLAB's legend('boxoff')?

David

Begin forwarded message:

Is there a simple way to turn off the border of an inset legend?

Regards,

David

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Great!

On a related note, I just submitted a patch to fix the box() command in pyplot to accept the 'off' argument like axis() does. I thought I was going a little crazy when it just wouldn't work, then I looked at the source code. :slight_smile:

https://sourceforge.net/tracker/?func=detail&aid=2871949&group_id=80706&atid=560720

David

···

On 2-Oct-09, at 2:54 PM, Jae-Joon Lee wrote:

I just noticed that there IS a public method.
You may use

leg.draw_frame(False)