-
Notifications
You must be signed in to change notification settings - Fork 49
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
Support for Rich Output #3
Comments
Hi, I made some simple support in my fork: https://github.com/DocX/IScala see README. Basically you can use raw_output(mime, string) built-in function that sends arbitrary output to ipy notebook. By that You can print raw HTML or use shortcuts for displaying images and so. |
Was this something that could be merged in? |
OK, so I finally implemented a preliminary version of display framework. You can see the results in https://github.com/mattpap/IScala/blob/master/examples/Display.ipynb. To get this working, you have to run the kernel with |
Thank you for taking on the display work. XXX ") or any line below that in the Display.ipynb. Am I doing something wrong? I'm using ipython 2.3.0 and tested with both scala 2.10.4 and 2.11
scala.reflect.internal.MissingRequirementError: object $line1.$display.$iw not found. |
@paulomagalhaes, I presume you're a osx user? If so, there is an issue with case-sensitive class names. I will fix this soon. |
@mattpap, thx for the quick reply. Yes I got this error on osx. I just tested on Linux and got the same error, though. |
@paulomagalhaes, this should be fixed by now. If now, you should get at least a more meaningful error message. |
@mattpap I tested and it is working. Thanks |
@mattpap I'm doing some testing using IScala with Spark. The addition of the rich output is very helpful Thanks! |
Thank you for starting this exciting project.
I was wondering if iScala can be used to produce output that is not restricted to raw text?
The iPython framework supports many various formats.
At the very least, can iScala we used to produce Markdown, Latex, and/or HTML text?
The text was updated successfully, but these errors were encountered: