#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):
Since I had no desire to dig into old show mess, I've merged this into my
branch for !SageMathCell based on 6.6.rc1 and get
{{{
OSError: [calculus ] docstring of
sage.symbolic.expression.Expression.show:14: WARNING: Block quote ends
without a blank line; unexpected unindent.
}}}
while building documentation.
What is the long-term plan for `pretty_print/show/view`? I've always used
`show` to get a plot out or a displayed formula and `view` for inline
formulas (which could be on the same line as `print`ed text). That was
definitely not something intuitive/easily discoverable. Perhaps `show` can
be reserved for graphics only (2D/3D/animated) and its use for other
objects deprecated? While `pretty_print` with some keywords to control
display/inline should be the only official way to display formulas, with
its use for graphics deprecated? And `view` just gone?.. For the moment it
seems that `view` is left as is and `show = pretty_print` after this
branch.
--
Ticket URL: <http://trac.sagemath.org/ticket/17821#comment:14>
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.