You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Gurvinder (JIRA)" <ji...@apache.org> on 2016/02/14 08:40:18 UTC

[jira] [Commented] (TOREE-258) Support display_html for inline visualization

    [ https://issues.apache.org/jira/browse/TOREE-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15146430#comment-15146430 ] 

Gurvinder commented on TOREE-258:
---------------------------------

There is a hack/trick to do the same for now 

val x = lgn.line(Array(Array(1.0,1.0,2.0,3.0,9.0,20.0))).getHTML
Left(CellMagicOutput(MIMEType.TextHtml -> s"$x"))

would be good to have something working like this 

lgn.line(Array(Array(1.0,1.0,2.0,3.0,9.0,20.0))).getHTML

or even better

lgn.line(Array(Array(1.0,1.0,2.0,3.0,9.0,20.0)))

> Support display_html for inline visualization
> ---------------------------------------------
>
>                 Key: TOREE-258
>                 URL: https://issues.apache.org/jira/browse/TOREE-258
>             Project: TOREE
>          Issue Type: New Feature
>         Environment: Using Jupter 4.1, Toree commit (846292233c)
>            Reporter: Gurvinder
>
> To enable inline visualization from visualization server as Lightning (https://github.com/lightning-viz/lightning) using scala client (https://github.com/lightning-viz/lightning-scala) it require a way or method to insert html data (https://github.com/lightning-viz/lightning-scala/blob/jupyter/src/main/scala/org/viz/lightning/Visualization.scala) to current notebook and it appears as this functionality is currently missing from Toree. It would be good to have an option for inline visualization when toree is being used with Jupyter notebooks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)