id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
12213 aspect_ratio and figsize for graphics do not work as expected in sage-4.8.alpha5 William Stein Jason Grout William Stein "I don't know what was done to plotting in sage-4.8.alpha5, but it is seriously messed up. Basically, something is broken so that figsize doesn't work at all. Often I have to set an aspect ratio of 1000 just to see anything, etc. Here's a simple example, in which both outputs looks fine in sage-4.7.2, but in sage-4.8.alpha5, it is a total disaster:
{{{
g = Graphics(); g += line([(0, 120.93), (1, 120.92)])
g.show()
g.show(figsize=[8,4])
}}}
To see this on a remote install, just use ""save('a.png')"" in place of show.
Even though the first show is broken, perhaps due to something being set by default, the {{{g.show(figsize=[8,4])}}} is supposed to produce an ""8 inch by 4 inch figure"", but instead it makes something that is 0 inches tall. What's going on? What broke stuff?" defect closed blocker sage-4.8 graphics fixed sage-4.8.alpha5 William Stein Jason Grout N/A