#18289: Revert the changes that #17821 made to graph/
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.7
      Component:  graph theory       |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:  Nathann Cohen
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/graph_preference          |  8372aaa58ba5226a96fcbf5e9c609743cb9411ce
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by ncohen):

 > I might be completely misunderstanding things, but would like to make
 sure: easy access to the tikz code is very very very important to me.  Is
 there a difference between `latex(g)` and `g.__latex__`?  What would be
 the point of having $G_{123}$ as output?  At least for me it would be
 completely useless.

 The key to the non-discussion above is this:

 {{{
 sage: show is pretty_print
 True
 }}}

 That `show` is an alias for `pretty_print` is a problem here, for
 `show(g)` seems to indicate a plot while `pretty_print(g)` seems to
 indicate the kind of latex representation that Volker wants.

 Even though `show(g)` is indeed used frequently (Volker removes those
 doctests in this branch), it is definitely hard to do anything coherent
 when two functions with such different meanings are aliases of each other.

 Soooooooo well. If we can solve the problem by deprecating the `show`
 alias, and if in the meantime it still displays a plot for graphs while
 hinting at `Graph.show` or `Graph.plot`, then nobody will be lost. What do
 you think?

 Nathann

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