mg-pso-gui 0.1.186__py3-none-any.whl → 0.1.187__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mg_pso_gui-0.1.186.dist-info → mg_pso_gui-0.1.187.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.1.186.dist-info → mg_pso_gui-0.1.187.dist-info}/RECORD +6 -6
- mgpsogui/gui/VisualizeTab/MatrixEditor.py +10 -4
- {mg_pso_gui-0.1.186.dist-info → mg_pso_gui-0.1.187.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.1.186.dist-info → mg_pso_gui-0.1.187.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.1.186.dist-info → mg_pso_gui-0.1.187.dist-info}/top_level.txt +0 -0
@@ -18,7 +18,7 @@ mgpsogui/gui/SetupTab/SetupTab.py,sha256=_cehQwQhDbX92da_AwqYQ2mQo7sFDGkN1IsYQmc
|
|
18
18
|
mgpsogui/gui/SetupTab/StaticParameterView.py,sha256=iEG-UpBBlAJabZo3MG768oLqOROjUPc23tKOSd47IUc,2739
|
19
19
|
mgpsogui/gui/SetupTab/StepView.py,sha256=DqLoH1qKdlE2uQxX0DMYozl9tSx0SF69ULpHwgQP0es,6635
|
20
20
|
mgpsogui/gui/SetupTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
|
-
mgpsogui/gui/VisualizeTab/MatrixEditor.py,sha256
|
21
|
+
mgpsogui/gui/VisualizeTab/MatrixEditor.py,sha256=a2RIiPLggYAPC8gJRub7oyF7a-yHUuRQh9Bwrqajs7c,3248
|
22
22
|
mgpsogui/gui/VisualizeTab/SideBar.py,sha256=342SridpIqL6LBRE2rDAoUQqbMYCBCiSL3xNo3iPzz8,21936
|
23
23
|
mgpsogui/gui/VisualizeTab/VisualizeTab.py,sha256=_SiRDUvYJ7VUmMZ_VzylWP2tFygbLzWeUCGW3TU3yZM,3466
|
24
24
|
mgpsogui/gui/VisualizeTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -59,8 +59,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
59
59
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
60
60
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
61
61
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
62
|
-
mg_pso_gui-0.1.
|
63
|
-
mg_pso_gui-0.1.
|
64
|
-
mg_pso_gui-0.1.
|
65
|
-
mg_pso_gui-0.1.
|
66
|
-
mg_pso_gui-0.1.
|
62
|
+
mg_pso_gui-0.1.187.dist-info/METADATA,sha256=-g2-dpklOS6ngVyrN_k7ohg2x9_R1ITmzl_qHoljrPw,9456
|
63
|
+
mg_pso_gui-0.1.187.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
|
64
|
+
mg_pso_gui-0.1.187.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
65
|
+
mg_pso_gui-0.1.187.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
66
|
+
mg_pso_gui-0.1.187.dist-info/RECORD,,
|
@@ -8,7 +8,7 @@ import tkinter as tk
|
|
8
8
|
|
9
9
|
global option_manager
|
10
10
|
|
11
|
-
class MatrixEditor(
|
11
|
+
class MatrixEditor(CTkFrame):
|
12
12
|
def __init__(self, *args,
|
13
13
|
option_manager: None,
|
14
14
|
home_page: None,
|
@@ -40,18 +40,24 @@ class MatrixEditor(CTkScrollableFrame):
|
|
40
40
|
index = 0
|
41
41
|
|
42
42
|
self.containerFrame = CTkFrame(self)
|
43
|
-
self.containerFrame.grid(row=0, column=0, padx=(
|
43
|
+
self.containerFrame.grid(row=0, column=0, padx=(0, 0), pady=(0, 0), sticky="nsew")
|
44
44
|
self.containerFrame.grid_columnconfigure((0, 1), weight=1)
|
45
45
|
|
46
|
+
CTkLabel(self.containerFrame, text="X Axes:").grid(row=row, column=0, columnspan=1, padx=5, pady=5, sticky="")
|
47
|
+
row += 1
|
48
|
+
|
46
49
|
for key_value_pair in self.key_values:
|
47
|
-
CTkLabel(self.containerFrame, text=self.key_values[index]["name"].get()).grid(row=row, column=0, padx=5, pady=5, sticky="")
|
50
|
+
#CTkLabel(self.containerFrame, text=self.key_values[index]["name"].get()).grid(row=row, column=0, padx=5, pady=5, sticky="")
|
48
51
|
|
49
52
|
if self.edit_mode:
|
53
|
+
bb = CTkOptionMenu(self.containerFrame, values=self.columns, variable=self.key_values[index]["value"], command=self.home_page.update_graph)
|
54
|
+
bb.grid(row=row, column=0, padx=(5, 5), pady=(5, 5), sticky="ew")
|
55
|
+
|
50
56
|
return_func = lambda index=index: (self.clear(), self.option_manager.remove_figure_parameter(index), self.home_page.update_graph(0), self.render())
|
51
57
|
CTkButton(self.containerFrame, text="Remove", command=return_func).grid(row=row, column=1, padx=(5, 5), pady=(5, 5), sticky="ew")
|
52
58
|
else:
|
53
59
|
bb = CTkOptionMenu(self.containerFrame, values=self.columns, variable=self.key_values[index]["value"], command=self.home_page.update_graph)
|
54
|
-
bb.grid(row=row, column=
|
60
|
+
bb.grid(row=row, column=0, columnspan=2, padx=(5, 5), pady=(5, 5), sticky="ew")
|
55
61
|
row += 1
|
56
62
|
index += 1
|
57
63
|
|
File without changes
|
File without changes
|
File without changes
|