On Mon, Dec 8, 2008 at 9:13 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I think Jae-Joon's new figure refactoring is really great, and is a huge > improvement over the old code. > > I do, however, have one concern. Since the legend border is no longer a > simple rectangle, the Agg backend's auto-pixel-alignment routine is no > longer kicking in, and the border ends up looking fairly fuzzy. It's > particularly striking when the axes rectangle is always so clean and > sharp now. As nice as the rounded edges are, the fuzziness makes it > feel like a bit of a regression to me. Aesthetically, I also feel it's > a bit out of place to use rounded corners in one case but not elsewhere > in a document (typical LaTeX templates, for instance, don't use rounded > corners.) > > Should it perhaps be a regular rectangle by default, with rounded > corners as an option?
I'm inclined to agree with you -- this could also be an rc option, so those who like the rounding can get them by default. I would be happy to have rectangle by default, with liberal use of rounding in the gallery example code so people can easily find how to turn them on. A legend section for the docs is still on my list of things to do. I'll implement the rc param "legend.fancybox" and make False (rectangle) the default, and we can always change the after default if JJ weighs in. > This may also be an argument for finally making the auto-pixel-alignment > code programmatic, rather than automatic. As it works now, it > automatically pixel-aligns when there are a) no curves and b) only > rectilinear axis-aligned line segments. If the pixel alignment was > instead controlled from Python as a flag, then the legend code could > explicitly say it wants the legend patch to be pixel-aligned, even if it > has rounded corners. But that's perhaps too deep of a change to make > for the impending release and should have to wait for next time. This sounds fairly benign (gc param?) so I could go either way: before or after. JDH ------------------------------------------------------------------------------ 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-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel