Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/src/main/resources/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ class PyZeppelinContext(object):
def __init__(self):
self.max_result = 1000
self._displayhook = lambda *args: None
self._setup_matplotlib()

def input(self, name, defaultValue=""):
print(self.errorMsg)
Expand Down Expand Up @@ -231,4 +232,3 @@ def _setup_matplotlib(self):


z = PyZeppelinContext()
z._setup_matplotlib()
1 change: 1 addition & 0 deletions python/src/main/resources/bootstrap_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class Py4jZeppelinContext(PyZeppelinContext):
"""A context impl that uses Py4j to communicate to JVM
"""
def __init__(self, z):
PyZeppelinContext.__init__(self)
self.z = z
self.paramOption = gateway.jvm.org.apache.zeppelin.display.Input.ParamOption
self.javaList = gateway.jvm.java.util.ArrayList
Expand Down