-
-
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
Rich output and the IPython Notebook #17234
Comments
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Commit: |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:61
Passed tests on the buildbot! |
Changed reviewer from R. Andrew Ohana to R. Andrew Ohana, Emmanuel Charpentier |
comment:62
a173e92 builds without a hitch and passes (p)testlong with no failure ; the Ipython notebook is functional and displays Mathjax and asci art ==> positive review. The (temporary) loss of 3D plotting is a (small) nuisance, though. Are there already tickets to watch for this functionality ? I also note that plot3d(..) or p1=plot3d(...) ; p1 does display in the Ipython notebook, as long as no argument of plot3d has to be passed to show() and friends. Is this "vestigial" (or "embryonic") 3D displaying the intended behaviour ? |
comment:63
I assume you mean only in the IPython notebook, not in the sagenb? |
comment:64
Replying to @kcrisman:
Yes, indeed. My curiosity was towards the notebook functionality : the Ipython notebook, wit its one-file container, is a real boon. But, for me at least, not having typeset math (or at least decent ascii_art display) is a pain. So I'm eager to see an Ipython notebook with typesetting functionality. |
Changed branch from u/vbraun/rich_output_and_the_ipython_notebook to |
comment:66
The changes committed here interfere heavily with my work from #7298 for animations displayed in the HTML5 |
Changed commit from |
comment:67
Volker - what is the relation between stuff here and |
comment:68
This ticket wasn't about removing the remaining 55 occurrences of |
comment:69
I would like to use this to typeset the output in Emacs, but I need some sort of delimiters on the latex, so that I don't try to typeset backtraces, the result of print statements, etc. In fact, it would be nice to have both plain text and latex outputs properly delimited so that I can switch between the two. e.g. display the plain text until the latex rendering is finished. Does it make sense to add a OutputDelimitedLatex class and update BackendIPythonCommandline? I run an ipython shell from inside Emacs. |
comment:70
Replying to @gvol:
I have a very experimental branch at u/iandrus/emacs-typeset-output with the basics of what I'm thinking of. It's definitely not finished, but if the general approach seems reasonable, I'll polish it up and open a ticket etc. |
comment:71
IMHO emacs-mode should define its own backend, possibly by inheriting from the ipython command line backend. Thats why there are pluggable backends. Then you can format OutputLatex in precisely the way the emacs-mode needs without stepping on anybody else's toes. |
comment:72
Replying to @vbraun:
Thanks. I opened #18115 with the new approach. It seems to work, but I've probably forgotten something. |
This framework separates the construction of rich output (images, mathjax, 3d scenes, ...) from the viewer details. Displaying rich output is handled by interchangeable plugins that encapsulate the differences between various notebooks, the command line, etc.
As a side effect, mathjax output in the ipython notebook works now.
Depends on #16996
Depends on #16640
Depends on #17284
CC: @novoselt @ohanar @gagern
Component: graphics
Author: Volker Braun
Branch:
a173e92
Reviewer: R. Andrew Ohana, Emmanuel Charpentier
Issue created by migration from https://trac.sagemath.org/ticket/17234
The text was updated successfully, but these errors were encountered: