#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 novoselt):
With the addition of `_rich_repr_`, perhaps we should have in the
guidelines that `_latex_` and `_plot_` always produce "full object" no
matter how likely it is to be useful, while `_rich_repr_` makes a decision
about truncating large objects and picking graphics over formula or
returning some incomplete description like latexed count of vertices and
edges. There have to be, of course, some easy way to programmatically
force calls of `_latex_` or `_plot_` without direct use of underscore
methods. I guess with the new system we get `pretty_print(latex(x))` and
`pretty_print(plot(x))`.
And I have to admit that `show(latex(x))` and `show(plot(x))` are more
natural - perhaps we can have new function `show` that will do what it
says - show a given LaTeX, graphics, or HTML expression, without trying to
decide what to do with other types. `display` is another suitable name
that will match dispayhook terminology nicely.
--
Ticket URL: <http://trac.sagemath.org/ticket/18289#comment:63>
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.