On Fri, May 1, 2009 at 6:53 AM, mabshoff <mabsh...@googlemail.com> wrote: > > > > On Apr 30, 10:19 pm, William Stein <wst...@gmail.com> wrote: >> On Thu, Apr 30, 2009 at 10:15 PM, mabshoff <mabsh...@googlemail.com> wrote: > > <SNIP> > >> > I think figsize is meant as a scaling factor since otherwise there is >> > no way you can exceed 2^15 as a limit of the png size :) >> >> I think figsize is the width and height in inches, for some choice of >> dpi (I forget which). >> 500x500 inches is going to take a lot of memory. > > I believe the default dpi for MPL is 100, so this is no surprise that > we exceed the file size limitation for [500,500]. If someone can boil > this down to a simple example independent of Sage we can report this > upstream since they fixed at least one similar issue that Bober found > at SD 7. > > Minh: Can you open a ticket so we update the documentation to make it > clear that the size is in inches and that huge values can lead to > segfaults due to allocation failures?
Your wish is my command :-) This is now #5956 -- Regards Minh Van Nguyen --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---