|
From: Michael D. <md...@st...> - 2008-12-16 15:56:15
|
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 |