mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix matplotlib test
This commit is contained in:
parent
f94139b330
commit
33aad7589b
1 changed files with 4 additions and 0 deletions
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
package org.apache.zeppelin.python;
|
||||
|
||||
import org.apache.zeppelin.display.AngularObjectRegistry;
|
||||
import org.apache.zeppelin.interpreter.Interpreter;
|
||||
import org.apache.zeppelin.interpreter.InterpreterContext;
|
||||
import org.apache.zeppelin.interpreter.InterpreterException;
|
||||
|
|
@ -65,7 +66,10 @@ public class PythonInterpreterMatplotlibTest implements InterpreterOutputListene
|
|||
|
||||
context = InterpreterContext.builder()
|
||||
.setInterpreterOut(out)
|
||||
.setAngularObjectRegistry(new AngularObjectRegistry(intpGroup.getId(), null))
|
||||
.build();
|
||||
InterpreterContext.set(context);
|
||||
|
||||
python.open();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue