#18302: Deprecate / warn against show()
--------------------------+------------------------
Reporter: vbraun | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.7
Component: misc | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------+------------------------
Comment (by kcrisman):
I know this has been discussed elsewhere, but since there is an actual
ticket for this... What would the recommended syntax be going forward for
interacts, where simply printing the plot doesn't work (as far as I
recall, neither in sagenb nor in sagecell)? That is
{{{
@interact
def _():
P = plot(x)
P
}}}
wouldn't show the plot, you need to use `show(P)` (or did need to). This
is a pretty important use case, though of course it would be nice not to
have to do `show(P)`, we should still support this working for the
immediate future. (And don't say to do `P.show()`, because that's even
more annoying and less likely to occur to someone new to OOP.)
--
Ticket URL: <http://trac.sagemath.org/ticket/18302#comment:4>
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.