-
-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix 2d animations #17783
Comments
comment:1
Also, PIL(low) can read/write animated gif, so get rid of the ImageMagick dependenecy |
Dependencies: #17234 |
comment:3
For future reference, the IPython notebook cannot display gifs (animated or not): ipython/ipython#2115 |
Replying to @vbraun:
I had, at some point in the past, myself proposed to return path names from all the file creation functions. That's #16573 which I wrote at a time when animations were even more severely broken. Since noone seemed to care about it, and I was mostly happy again once notebook worked all right again, I left it at that.
The APNG inconsistency is in a certain sense a consequence of that: back in #16533 I had code which got refactored to #16573 about returning paths and to #16571 for APNG support. The latter went forward, the former was left to rot, and I didn't adjust the docs properly. Sorry there.
Mandatory positional file name arguments would break backwards compatibility. At the moment, it is perfectly all right for a notebook user to write
#7298 introduced a keyword argument for
I had the impression that one should be able to provide plot input as an argument to I feel I could write a branch for the APNG documentation and the |
comment:5
Replying to @gagern:
Fixing bugs breaks backward compatibilty if you really want the bug. But that is besides the point. Silently creating files is a terrible UI and will not work with anything but SageNB. The gui isn't only SageNB any more, so everything that can't work with IPython notebook (say) is by definition a bug. You don't need to deprecate bugs for a year until you finally fix that bug. |
comment:6
Replying to @vbraun:
On SageNB you currently have a feature (perhaps badly designed, but not a bug) which allows calling these methods with no arguments. That feature is currently documented and presumably being used. Now that feature doesn't work for IPython notebook, and instead appears to fail silently. Agreed, that's a bug. So there are two things to fix: the documentation so it clarifies the situation, and the implementation so users won't be confused. In my opinion, the documentation should indicate that this syntax is supported on SageNB only, and is deprecated. The implementation should issue a warning about the deprecation. Both should direct users to call |
comment:7
Replying to @gagern:
Bring back the spacebar heating feature! http://xkcd.com/1172/ Seriously, just say no. There is bad design as in: bad taste, and bad design as in: thats horrible and it can't work. The latter is a bug. |
comment:8
Replying to @vbraun:
Bad design is not the same as a bug. If it currently works in sagenb, it's a feature (despite the bad design), not a bug. |
comment:9
It still needs to be changed to work in the IPython notebook, so its a bug and a feature at the same time. |
Various things in 2d animations need refactoring
show_path
optional argument should be removed everywhere, and meaningful return values should be implementedAnimation.apng()
show()
, similar toviewer='jmol'
in 3d graphics.Animate._frames
is 2d graphics or input toplot()
Depends on #7298
Depends on #16573
Depends on #17234
CC: @gagern
Component: graphics
Issue created by migration from https://trac.sagemath.org/ticket/17783
The text was updated successfully, but these errors were encountered: