#5956: image dimensions for show() are in inches
--------------------------------------------------------------------------+-
Reporter: mvngu |
Owner: was
Type: defect |
Status: needs_work
Priority: minor |
Milestone: sage-5.9
Component: graphics |
Resolution:
Keywords: image dimensions, figsize, beginner |
Work issues:
Report Upstream: None of the above - read trac for reasoning. |
Reviewers: Karl-Dieter Crisman, Punarbasu Purkayastha
Authors: Emily Chen, Punarbasu Purkayastha, Karl-Dieter Crisman |
Merged in:
Dependencies: |
Stopgaps:
--------------------------------------------------------------------------+-
Comment (by kcrisman):
It's not critical in that sense, but it's the kind of thing where I figure
we might as well make sure that any error message sent makes sense. The
current error
{{{
ValueError: width and height must each be below 32768
}}}
doesn't refer to `figsize` and at least made me totally miss that I had
somehow smuggled a minus sign in there, since I was frantically trying to
make the image smaller and wondering why five was too big :-) I figure if
it can happen to an experienced Sage user "on the spot", it will
definitely happen to a new user. Jeroen's comment seems quite reasonable
especially as everything matplotlib is going to end up a float anyway, if
I recall correctly.
I'll try to get this all packaged up in the next day or two.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5956#comment:23>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.