still testing
This commit is contained in:
@ -20,6 +20,8 @@ import blessings
|
||||
|
||||
import psutil
|
||||
|
||||
from bonobo.core.plugins import Plugin
|
||||
|
||||
t = blessings.Terminal()
|
||||
|
||||
|
||||
@ -34,7 +36,7 @@ def memory_usage():
|
||||
# return datetime.datetime.now() - harness._started_at
|
||||
|
||||
|
||||
class ConsoleOutputPlugin:
|
||||
class ConsoleOutputPlugin(Plugin):
|
||||
"""
|
||||
Outputs status information to the connected stdout. Can be a TTY, with or without support for colors/cursor
|
||||
movements, or a non tty (pipe, file, ...). The features are adapted to terminal capabilities.
|
||||
|
||||
@ -3,7 +3,7 @@ from IPython.core.display import display
|
||||
from bonobo.ext.jupyter.widget import BonoboWidget
|
||||
|
||||
|
||||
class JupyterOutputPlugin:
|
||||
class JupyterOutputPlugin(Plugin):
|
||||
def initialize(self, context):
|
||||
self.widget = BonoboWidget()
|
||||
display(self.widget)
|
||||
|
||||
Reference in New Issue
Block a user