COMPASS  5.0.0
End-to-end AO simulation tool using GPU acceleration
shesha.util.matplotlibwidget.MatplotlibWidget Class Reference
Inheritance diagram for shesha.util.matplotlibwidget.MatplotlibWidget:
Collaboration diagram for shesha.util.matplotlibwidget.MatplotlibWidget:

Public Member Functions

def __init__ (self, parent=None)
 
def create_framentoolbar (self)
 

Public Attributes

 frame
 
 canvas
 
 mpltoolbar
 
 vbl
 

Detailed Description

Definition at line 67 of file matplotlibwidget.py.

Constructor & Destructor Documentation

◆ __init__()

def shesha.util.matplotlibwidget.MatplotlibWidget.__init__ (   self,
  parent = None 
)

Definition at line 69 of file matplotlibwidget.py.

69  def __init__(self, parent=None):
70  QtWidgets.QWidget.__init__(self, parent)
71  self.create_framentoolbar()
72 
Here is the call graph for this function:

Member Function Documentation

◆ create_framentoolbar()

def shesha.util.matplotlibwidget.MatplotlibWidget.create_framentoolbar (   self)

Definition at line 73 of file matplotlibwidget.py.

73  def create_framentoolbar(self):
74  self.frame = QtWidgets.QWidget()
75  self.canvas = MplCanvas()
76  self.canvas.setParent(self.frame)
77  self.mpltoolbar = Navigationtoolbar(self.canvas, self.frame)
78  self.vbl = QtWidgets.QVBoxLayout()
79  self.vbl.addWidget(self.canvas)
80  self.vbl.addWidget(self.mpltoolbar)
81  self.setLayout(self.vbl)
Here is the caller graph for this function:

Member Data Documentation

◆ canvas

shesha.util.matplotlibwidget.MatplotlibWidget.canvas

Definition at line 75 of file matplotlibwidget.py.

◆ frame

shesha.util.matplotlibwidget.MatplotlibWidget.frame

Definition at line 74 of file matplotlibwidget.py.

◆ mpltoolbar

shesha.util.matplotlibwidget.MatplotlibWidget.mpltoolbar

Definition at line 77 of file matplotlibwidget.py.

◆ vbl

shesha.util.matplotlibwidget.MatplotlibWidget.vbl

Definition at line 78 of file matplotlibwidget.py.


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