Re: [matplotlib-devel] dpi-related positioning errors in Agg savefig

2008-04-28 Thread Michael Droettboom
John Hunter wrote: > On Sun, Apr 27, 2008 at 3:14 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > > >> 1) The hline generated by frac is too long with dpi=50. >> > > The problem with the hline appears to be that the width of the line in > the frac has a component that depends on the thickness

Re: [matplotlib-devel] fonts pixelated in rotated text

2008-04-28 Thread Michael Droettboom
John Hunter wrote: > On Fri, Apr 25, 2008 at 2:12 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > > >> I'm stumped. It looks like the code (and even the inputs to >> draw_text_image) are virtually identical, modulo the differences between Agg >> 2.3 and 2.4. Maybe the change is in Agg, and

Re: [matplotlib-devel] superscript and font size

2008-04-28 Thread Michael Droettboom
Paul Kienzle wrote: > On Thu, Apr 24, 2008 at 08:38:02AM -0400, Michael Droettboom wrote: > >> Paul Kienzle wrote: >> >>> Hi, >>> >>> The superscripts in mpl don't seem to be placed at the correct height for >>> small fonts. The y-tics on the attached plot shows this. The effect is >>> si

Re: [matplotlib-devel] superscript and font size

2008-04-28 Thread Paul Kienzle
On Mon, Apr 28, 2008 at 09:51:54AM -0400, Michael Droettboom wrote: > Paul Kienzle wrote: > > > > Thanks. It looks much better in png, but pdf has the subscript raised much > > higher, > That was a DPI-related bug, that is hopefully now fixed in SVN. > > and svg isn't rendering fonts at all (see

[matplotlib-devel] imshow() gives nearly inscrutable error message on complex arrays

2008-04-28 Thread Andrew Straw
Hi all, I just discovered that attempting to plot a complex array using imshow() results in a not-very-helpful traceback (attached). Would it be worth catching this on the actual call to imshow() and raising a more transparent error? (The test script, slightly modified from Gaƫl Varoquaux's pyrepo

Re: [matplotlib-devel] imshow() gives nearly inscrutable error message on complex arrays

2008-04-28 Thread Eric Firing
Andrew Straw wrote: > Hi all, > > I just discovered that attempting to plot a complex array using imshow() > results in a not-very-helpful traceback (attached). Would it be worth > catching this on the actual call to imshow() and raising a more > transparent error? (The test script, slightly modif