#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 vbraun):

 I kind of like `pretty_print` since it makes it clear that it behaves like
 `print`. On the other hand various objects already have `.show()` methods.
 I haven't really made up my mind about which is best. We could keep both
 if they are aliases...

 I guess we should use inline/text style if and only if there is adjacent
 stuff. So, for example,  `pretty_print(a, b)` should use inline style and
 `pretty_print(a); pretty_print(b)` should use block/display style.

--
Ticket URL: <http://trac.sagemath.org/ticket/17821#comment:19>
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.

Reply via email to