You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Alexander Bezzubov (JIRA)" <ji...@apache.org> on 2016/08/24 02:28:20 UTC

[jira] [Created] (ZEPPELIN-1361) Python interpreter - add support for AngularDisplay system

Alexander Bezzubov created ZEPPELIN-1361:
--------------------------------------------

             Summary: Python interpreter - add support for AngularDisplay system
                 Key: ZEPPELIN-1361
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1361
             Project: Zeppelin
          Issue Type: Improvement
          Components: python-interpreter
            Reporter: Alexander Bezzubov
             Fix For: 0.7.0


As discussed on mailing list dev@z.a.o subj "improving matplotlib integration in zeppelin" - in order to complete ZEPPELIN-1344 and give ability for one Python paragraph to update content in another one - we can use AngularDisplay system, same as in Apache Spark interpreter.


{code}
So without rerun another paragraph, it's possible to update result of a
paragraph from another.
Any interpreter can get AngularObjectRegistry[3] from InterpreterContext
[4], and AngularObjectRegistry allows create object / add event hook to
communicate with front-end. 

[3]
https://github.com/apache/zeppelin/blob/master/zeppelin-interpreter/src/main/java/org/apache/zeppelin/display/AngularObjectRegistry.java
[4]
https://github.com/apache/zeppelin/blob/master/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/InterpreterContext.java#L115
{code}




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