Belle II Software light-2406-ragdoll
IPythonWidget Class Reference
Inheritance diagram for IPythonWidget:

Public Member Functions

def create (self)
 
def show (self)
 

Detailed Description

A base class for widgets in the hep ipython projects.

Definition at line 20 of file viewer.py.

Member Function Documentation

◆ create()

def create (   self)
Override this method!

Reimplemented in PathViewer, ModuleViewer, DependencyViewer, StylingWidget, CollectionsViewer, StatisticsViewer, and LogViewer.

Definition at line 25 of file viewer.py.

25 def create(self):
26 """
27 Override this method!
28 """
29 return None
30

◆ show()

def show (   self)
Show the widget

Reimplemented in ProgressBarViewer.

Definition at line 31 of file viewer.py.

31 def show(self):
32 """
33 Show the widget
34 """
35 from IPython.core.display import display
36
37 a = self.create()
38 display(a)
39
40

The documentation for this class was generated from the following file: