This looks like a dpi issue -- that is the only difference between the 
regular and hi-res png.  Jae-Joon -- do you have any thoughts?  Perhaps 
something is dpi-dependent in the new legend code where it shouldn't be?

Mike

Lebostein wrote:
> Hi,
>
> with the new version of matplotlib, the legend looks different in png and
> pdf!
>
> I could post examples, but you can look in the galery also:
> http://matplotlib.sourceforge.net/gallery.html
>
> for example the legend_demo3
> http://matplotlib.sourceforge.net/examples/pylab_examples/legend_demo3.html
> * PNG:
> http://matplotlib.sourceforge.net/_static/plot_directive/mpl_examples/pylab_examples/legend_demo3.hires.png
> * PDF:
> http://matplotlib.sourceforge.net/_static/plot_directive/mpl_examples/pylab_examples/legend_demo3.pdf
>
> You see in the png the lines are short and not vertically centered, padding
> between axes an legend text are ignored .. and so on
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


------------------------------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to