#16573: Animations saved without visible effect
---------------------------+----------------------------
Reporter: gagern | Owner:
Type: enhancement | Status: new
Priority: trivial | Milestone: sage-6.3
Component: graphics | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
---------------------------+----------------------------
At the moment, the methods `Animation.gif` and `Animation.ffmpeg` will,
when called without arguments, create a new temporary file in some
temporary directory without telling anyone about it. Apparently, in
previous versions the file was created in the current working directory,
where the notebook would pick them up. But this is no longer the case. One
can pass an argument called `show_path` to learn about the chosen path, or
an argument called `savefile` to specify the name explicitely. But the
version without arguments seems rather confusing to me.
Therefore I suggest to change the code, and have it return the name of the
generated file. The `Animation.png` method already returns the path of the
directory it created, so in a sense this would be consistent. Notebook
users would see some feedback indicating what actually happened. In order
to see the file content instead of its path, calling `Animation.show()`
seems more appropriate. The documentation would have to be adjusted as
well, since they claim that the generated file would be shown in notebook,
which isn't the case.
--
Ticket URL: <http://trac.sagemath.org/ticket/16573>
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.