summaryrefslogtreecommitdiff
path: root/src/ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.py')
-rw-r--r--src/ui.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ui.py b/src/ui.py
index 60f2fac..22ae436 100644
--- a/src/ui.py
+++ b/src/ui.py
@@ -69,8 +69,7 @@ def update():
row.stokes[4].setText("%g°" % (ellipse.alpha * 180 / np.pi))
row.stokes[5].setText("%g°" % (ellipse.theta * 180 / np.pi))
- GUI.widok.intensity = I
- GUI.widok.repaint()
+ GUI.poincare.repaint()
#if GUI.auto_optimize.isChecked():
# optimize()
@@ -144,9 +143,8 @@ class MainWindow(QMainWindow):
rhs = QVBoxLayout()
split.addWidget(LayoutWrapper(rhs))
- Widocques.image = QImage("jones.jpg")
- GUI.widok = Widocques()
- rhs.addWidget(GUI.widok)
+ GUI.poincare = PoincareWidget()
+ rhs.addWidget(GUI.poincare)
GUI.table.populate(system)
update()