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 [email protected] 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)