different PNG and PDF output...

"Jae-Joon Lee" <lee.j.joon@...287...> writes:

So, Lebostein and j, if you know how to check out using svn, can you
give a try either the svn trunk or the maintenance branch? I'm
attaching the patch just in case.

On the svn trunk, the demo examples/api/legend_demo.py now fails at
"leg.get_texts()" with "AttributeError: 'Legend' object has no attribute
'texts'". Calling show() seems to fix the legend so that get_texts
works, so I suspect that the bug is related to the _init_legend_box call
that your patch removes.

···

--
Jouni K. Sepp�nen

"Jae-Joon Lee" <lee.j.joon@...287...> writes:

So, Lebostein and j, if you know how to check out using svn, can you
give a try either the svn trunk or the maintenance branch? I'm
attaching the patch just in case.

On the svn trunk, the demo examples/api/legend_demo.py now fails at
"leg.get_texts()" with "AttributeError: 'Legend' object has no attribute
'texts'". Calling show() seems to fix the legend so that get_texts
works, so I suspect that the bug is related to the _init_legend_box call
that your patch removes.

--
Jouni K. Seppänen
http://www.iki.fi/jks

I also see the problem.
And, yes, this is related with _init_legend_box. As the paddings and
such need to be determined at drawing time, I moved this into the
draw() method.
The fix may involve some rearrangement of the code.
I'll work on it.

Thanks,

-JJ

···

On Tue, Dec 16, 2008 at 4:02 PM, Jouni K. Seppänen <jks@...397...> wrote:

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

This should now be fixed (maintenance & trunk).

John,
I guess I found what I did wrong last time.
I used emacs svn interface for committing and it seems that some of
the properties are not properly committed.
This time, I simply used the shell command.
let me know if I messed up again.

-JJ

ps. John, are you releasing a new maintenance version? I'm afraid that
my previous patch broke one of the example. Sorry, I thought the fix
was obvious and didn't pay much attention.

···

On Tue, Dec 16, 2008 at 5:18 PM, Jae-Joon Lee <lee.j.joon@...287...> wrote:

On Tue, Dec 16, 2008 at 4:02 PM, Jouni K. Seppänen <jks@...397...> wrote:

"Jae-Joon Lee" <lee.j.joon@...287...> writes:

So, Lebostein and j, if you know how to check out using svn, can you
give a try either the svn trunk or the maintenance branch? I'm
attaching the patch just in case.

On the svn trunk, the demo examples/api/legend_demo.py now fails at
"leg.get_texts()" with "AttributeError: 'Legend' object has no attribute
'texts'". Calling show() seems to fix the legend so that get_texts
works, so I suspect that the bug is related to the _init_legend_box call
that your patch removes.

--
Jouni K. Seppänen
http://www.iki.fi/jks

I also see the problem.
And, yes, this is related with _init_legend_box. As the paddings and
such need to be determined at drawing time, I moved this into the
draw() method.
The fix may involve some rearrangement of the code.
I'll work on it.

Thanks,

-JJ

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

Yes, and I had just completed a round of testing when I saw your patch
come in and included it w/o further testing (stupid). In any case,
there are still a couple of bug fixes and optimizations that are in
progress, and I will continue to push these out as they become
available. The tarball and OSX binaries will soon be almost fully
automated, and when we stabilize the 98.5 branch, Charlie can post an
update to the win32 binaries. I plan to cut another bugfix release
tomorrow in any case.

JDH

···

On Tue, Dec 16, 2008 at 7:06 PM, Jae-Joon Lee <lee.j.joon@...287...> wrote:

ps. John, are you releasing a new maintenance version? I'm afraid that
my previous patch broke one of the example. Sorry, I thought the fix
was obvious and didn't pay much attention.