#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 | 9a8700d91b7096b369ff3927c93d14f169f14b7c
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by ncohen):
> It does that without this branch.
Without this branch (i.e. with beta3) this command opens a window with a
plot:
{{{
sage: show(graphs.PetersenGraph())
}}}
> I'm happy with that if you are.
I am not. `G_{10}` means nothing to somebody in the graph world, and the
previous output was way more informative:
{{{
sage: Graph(4,loops=True,multiedges=True)
Looped multi-graph on 4 vertices
}}}
> I'm only against show() returning something else than the displayhook.
I am against 'show()' returning anything else than what it has been
returning for the last 5 years. You can add a deprecation warning if you
plan to remove 'show()' (I would agree with it), but anything else would
be problematic: you cannot expect `show(g)` to be different from
`g.show()`.
In the meantime, as per our deprecation policy, the result should still be
the same for one year.
There is no reason to consider `show(a_graph) # opens a window` as a bug
either. I consider it as a feature, as do most of the people I talk with.
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/18289#comment:72>
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.