mg-pso-gui 0.1.171__py3-none-any.whl → 0.1.173__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.171.dist-info → mg_pso_gui-0.1.173.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.1.171.dist-info → mg_pso_gui-0.1.173.dist-info}/RECORD +8 -8
- mgpsogui/gui/HomePage.py +4 -1
- mgpsogui/gui/VisualizeTab/SideBar.py +6 -0
- mgpsogui/util/GraphGenerator.py +17 -2
- {mg_pso_gui-0.1.171.dist-info → mg_pso_gui-0.1.173.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.1.171.dist-info → mg_pso_gui-0.1.173.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.1.171.dist-info → mg_pso_gui-0.1.173.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
mgpsogui/__init__.py,sha256=q7AfBjeJABnFtbsZnsObpUwaXKPDVYtz46G6MKXLF74,42
|
2
2
|
mgpsogui/mgpsogui.py,sha256=NIZmyNcbwC8EgSwf1ubdMUSJscrIEgoD4jLYziqHQ-k,148
|
3
3
|
mgpsogui/start.yaml,sha256=ZjCVLb-MLqAxrGRm9kA7_SDpa-45EuKIELNQ2QqCAiU,4713
|
4
|
-
mgpsogui/gui/HomePage.py,sha256=
|
4
|
+
mgpsogui/gui/HomePage.py,sha256=HkBEmLTaSyCadVs-JLWK1ch9xAdZGNaFBCjekUw_yno,22623
|
5
5
|
mgpsogui/gui/OptionManager.py,sha256=36_MlFd6nLt6xd6HHE2sHtL8oW7VBOZbCvJ8er-wWJ4,12544
|
6
6
|
mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=q8x_tvVgSoyGINuQbivXRThF3gaSSfg8X_dsLSPv4F0,10492
|
@@ -18,7 +18,7 @@ mgpsogui/gui/SetupTab/SetupTab.py,sha256=8f_xqmMaD8grmSKFFUHm8zIGEDrSUzU_sNW6CdR
|
|
18
18
|
mgpsogui/gui/SetupTab/StaticParameterView.py,sha256=iEG-UpBBlAJabZo3MG768oLqOROjUPc23tKOSd47IUc,2739
|
19
19
|
mgpsogui/gui/SetupTab/StepView.py,sha256=_gdfiYr_GqqbQfSYLvdllIYCHdGsy1339cALfYLDAEQ,5909
|
20
20
|
mgpsogui/gui/SetupTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
|
-
mgpsogui/gui/VisualizeTab/SideBar.py,sha256=
|
21
|
+
mgpsogui/gui/VisualizeTab/SideBar.py,sha256=R1JxJfmQVbxJGhDZZ6kCU6ikBMmAZHVzN0KMmL6goyw,17733
|
22
22
|
mgpsogui/gui/VisualizeTab/VisualizeTab.py,sha256=PBIlpGWlr2TVkMoXww7iYMRBcCBuGvJ5Nt4_S-EqbhU,3449
|
23
23
|
mgpsogui/gui/VisualizeTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
24
24
|
mgpsogui/gui/images/IGOW 4 Logo.png,sha256=JixNXz5gOEj898VF-_PHthAlGU-6W-y9ucb4EVNPtjs,433752
|
@@ -32,7 +32,7 @@ mgpsogui/gui/images/stop.png,sha256=JPuxXQerCGpLikcp7cAj3iLCOjULMYYZ2sZe0lArh68,
|
|
32
32
|
mgpsogui/gui/images/test.png,sha256=MUnVpRK-isxhEHzx4Q6Yh0M6FRZD1qvgCHH2XmiSBbk,3642
|
33
33
|
mgpsogui/gui/images/trash.png,sha256=j8cf0kWbJd-4Jp20lUVV1o1NSeQ4v1Ej4gfcIA3DVRQ,2958
|
34
34
|
mgpsogui/gui/images/up.png,sha256=AQvFWCUqSQNaQ1E6LKZ9zNfSvW6t4mgy8uswdg9T2Hg,2457
|
35
|
-
mgpsogui/util/GraphGenerator.py,sha256=
|
35
|
+
mgpsogui/util/GraphGenerator.py,sha256=T5eWApqbIPZTuhAKqGXMry3fBoNvA0cyVqP88-5q82A,17932
|
36
36
|
mgpsogui/util/PSORunner.py,sha256=sWgickFGl97p3ybWz97LR5qeYhnNqryKx5nWAa-NhwA,6306
|
37
37
|
mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
38
38
|
mgpsogui/util/debug.py,sha256=Swzny9_1S-CCONWGssj9iDoSpbwu5Vr4f95g_9L8bec,19759
|
@@ -58,8 +58,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
58
58
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
59
59
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
60
60
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
61
|
-
mg_pso_gui-0.1.
|
62
|
-
mg_pso_gui-0.1.
|
63
|
-
mg_pso_gui-0.1.
|
64
|
-
mg_pso_gui-0.1.
|
65
|
-
mg_pso_gui-0.1.
|
61
|
+
mg_pso_gui-0.1.173.dist-info/METADATA,sha256=vzCUDcpMJwPYyjkxyLglG8vXVCKUWkosCtmJT7sfAwA,9456
|
62
|
+
mg_pso_gui-0.1.173.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
63
|
+
mg_pso_gui-0.1.173.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
64
|
+
mg_pso_gui-0.1.173.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
65
|
+
mg_pso_gui-0.1.173.dist-info/RECORD,,
|
mgpsogui/gui/HomePage.py
CHANGED
@@ -85,6 +85,9 @@ class App(customtkinter.CTk):
|
|
85
85
|
self.selected_y2 = tk.StringVar()
|
86
86
|
self.selected_y2.set("NONE")
|
87
87
|
|
88
|
+
self.figure_style = tk.StringVar()
|
89
|
+
self.figure_style.set("Scatter")
|
90
|
+
|
88
91
|
self.running_config = None
|
89
92
|
self.selected_graph_name = None
|
90
93
|
|
@@ -139,7 +142,7 @@ class App(customtkinter.CTk):
|
|
139
142
|
self.scaling_label.grid(row=0, column=7, padx=header_padding_x, pady=header_padding_y)
|
140
143
|
self.scaling_optionemenu = customtkinter.CTkOptionMenu(self.sidebar_frame, values=["50%", "75%", "100%", "125%", "150%", "175%", "200%"], width=60,
|
141
144
|
command=self.change_scaling_event)
|
142
|
-
self.scaling_optionemenu.grid(row=0, column=8, padx=
|
145
|
+
self.scaling_optionemenu.grid(row=0, column=8, padx=(5, 20), pady=header_padding_y)
|
143
146
|
self.scaling_optionemenu.set("100%")
|
144
147
|
|
145
148
|
expand_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "expand.png")), size=(20, 20))
|
@@ -264,6 +264,12 @@ class SideBar(CTkScrollableFrame):
|
|
264
264
|
if (self.home_page.csv_y2_selector.get() not in columns):
|
265
265
|
self.home_page.csv_y2_selector.set(columns[3])
|
266
266
|
|
267
|
+
style_label = CTkLabel(self.containerFrame, text="Figure Style:")
|
268
|
+
style_label.grid(row=8, column=0, padx=(20, 20), pady=(20, 5), sticky="w")
|
269
|
+
|
270
|
+
self.home_page.figure_style_selector = CTkOptionMenu(self.containerFrame, values=["Scatter", "Bars", "Lines", "Area", "Box"], variable=self.home_page.figure_style, command=self.home_page.update_graph)
|
271
|
+
self.home_page.figure_style_selector.grid(row=9, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
272
|
+
|
267
273
|
def load_special_csv(self, file_path):
|
268
274
|
file_metadata = {}
|
269
275
|
data_metadata = {}
|
mgpsogui/util/GraphGenerator.py
CHANGED
@@ -444,6 +444,8 @@ def compare_csv(homepage, option_manager):
|
|
444
444
|
def sampling_csv(homepage, option_manager):
|
445
445
|
fig = go.Figure()
|
446
446
|
|
447
|
+
style = homepage.figure_style.get()
|
448
|
+
|
447
449
|
data = homepage.csv_data
|
448
450
|
|
449
451
|
x = homepage.csv_x_selector.get()
|
@@ -466,8 +468,21 @@ def sampling_csv(homepage, option_manager):
|
|
466
468
|
|
467
469
|
yy2_unit = ""
|
468
470
|
|
469
|
-
|
470
|
-
|
471
|
+
if (style == "Scatter"):
|
472
|
+
fig.add_trace(go.Scatter(x=xx, y=yy, name=val, mode='markers'))
|
473
|
+
fig.add_trace(go.Scatter(x=xx, y=yy2, name=val2, yaxis='y2', mode='markers'))
|
474
|
+
elif (style == "Bars"):
|
475
|
+
fig.add_trace(go.Bar(x=xx, y=yy, name=val))
|
476
|
+
fig.add_trace(go.Bar(x=xx, y=yy2, name=val2, yaxis='y2'))
|
477
|
+
elif (style == "Lines"):
|
478
|
+
fig.add_trace(go.Scatter(x=xx, y=yy, name=val))
|
479
|
+
fig.add_trace(go.Scatter(x=xx, y=yy2, name=val2, yaxis='y2'))
|
480
|
+
elif (style == "Area"):
|
481
|
+
fig.add_trace(go.Scatter(x=xx, y=yy, name=val, fill='tozeroy'))
|
482
|
+
fig.add_trace(go.Scatter(x=xx, y=yy2, name=val2, yaxis='y2', fill='tozeroy'))
|
483
|
+
elif (style == "Box"):
|
484
|
+
fig.add_trace(go.Box(x=xx, y=yy, name=val))
|
485
|
+
fig.add_trace(go.Box(x=xx, y=yy2, name=val2, yaxis='y2'))
|
471
486
|
|
472
487
|
fig.update_layout(
|
473
488
|
title="",
|
File without changes
|
File without changes
|
File without changes
|