#17821: Refactor show() methods, rename to pretty_print
-------------------------------------+-------------------------------------
Reporter: vbraun | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.6
Component: graphics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/vbraun/refactor_pretty_print | 70e4d3af7d4f26e4cf7fca155ccfe12193e6dae4
Dependencies: #17234, #17980, | Stopgaps:
#18028, #18032 |
-------------------------------------+-------------------------------------
Comment (by novoselt):
To me it sounds a bit strange to `pretty_print` a plot or to `show` a
formula, but I am not a native speaker. Although I don't see the point of
having two names for the same functionality, so why not then stick to
shorter `show` and drop `pretty_print`?
Use cases for inline equations:
- they are flushed left rather than centered, which makes a difference in
combined output blocks
- they have (or had) different padding in notebook, so were more compact
- they are of course more compact because they use different LaTeX style
- they could continue the line after `print "Cool formula: ",`
So I think they definitely should be available as an option. Having
`show/view` to pick the style was not cool, of course.
--
Ticket URL: <http://trac.sagemath.org/ticket/17821#comment:18>
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.
For more options, visit https://groups.google.com/d/optout.