mg-pso-gui 0.0.188__py3-none-any.whl → 0.0.190__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.0.188
3
+ Version: 0.0.190
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -17,7 +17,7 @@ mgpsogui/gui/SetupTab/SetupTab.py,sha256=Doy_6xLq1BjhLTFHRQm7CAbpQzUnNJW4KkBcdfr
17
17
  mgpsogui/gui/SetupTab/StaticParameterView.py,sha256=iEG-UpBBlAJabZo3MG768oLqOROjUPc23tKOSd47IUc,2739
18
18
  mgpsogui/gui/SetupTab/StepView.py,sha256=oG5Q-3xpTRP1f_PbNvohKctrbpD63zLAJzHD00bN44k,5531
19
19
  mgpsogui/gui/SetupTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
- mgpsogui/gui/VisualizeTab/VisualizeTab.py,sha256=hFBd3Q5hDk4x-PVnlaTiXuk7KBCNYORj0d8r03IXlvE,2745
20
+ mgpsogui/gui/VisualizeTab/VisualizeTab.py,sha256=IN7cdHP--lVtZfcI9YyMCxwxVt_F7WhY8E9mqDupajc,3376
21
21
  mgpsogui/gui/VisualizeTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  mgpsogui/gui/images/collapse.png,sha256=yicb16LaY7Nl5q9V8HHlht-Fbg5xU-l4_LJ_Arfmu1c,2989
23
23
  mgpsogui/gui/images/down.png,sha256=pspJkvUitD648C_2y8JLLD4Eagpk4MDEKQJGOO_yIaY,2654
@@ -33,8 +33,8 @@ mgpsogui/util/PSORunner.py,sha256=7iUYRUXgpZ0l0rqoyHQYY1Yg9q0gl9TE0jNaHZMv04c,29
33
33
  mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
34
  mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
35
35
  mgpsogui/util/CTkToolTip/ctk_tooltip.py,sha256=SZMovpQIGvdpDRbqCKl9SHs92DrFCO2MOYL2ifolvOE,6329
36
- mg_pso_gui-0.0.188.dist-info/METADATA,sha256=HLy5P1N08Ad1uDxc91nfEtss9CGSAVy8SUIepMLCCtE,9459
37
- mg_pso_gui-0.0.188.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
38
- mg_pso_gui-0.0.188.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
39
- mg_pso_gui-0.0.188.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
40
- mg_pso_gui-0.0.188.dist-info/RECORD,,
36
+ mg_pso_gui-0.0.190.dist-info/METADATA,sha256=lKlMZeBHMRI4bLCZEHowS5RyQ84vbqvim16tkMGYDL4,9459
37
+ mg_pso_gui-0.0.190.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
38
+ mg_pso_gui-0.0.190.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
39
+ mg_pso_gui-0.0.190.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
40
+ mg_pso_gui-0.0.190.dist-info/RECORD,,
@@ -44,23 +44,33 @@ def create_tab(self, tab):
44
44
  self.graph_label.configure(image=self.graph_image)
45
45
  self.graph_label.update_idletasks()
46
46
 
47
- tab.grid_columnconfigure(1, weight=10)
47
+
48
48
  tab.grid_columnconfigure(0, weight=1)
49
- tab.grid_columnconfigure(2, weight=1)
50
- tab.grid_rowconfigure(1, weight=1)
49
+ tab.grid_columnconfigure(1, weight=8)
50
+ tab.grid_rowconfigure(0, weight=1)
51
+
52
+ self.graph_sidebar = customtkinter.CTkFrame(tab, bg_color="transparent", fg_color="transparent")
53
+ self.graph_sidebar.grid(row=0, column=0, padx=(20, 20), pady=(20, 20), sticky="nsew")
54
+ self.graph_container = customtkinter.CTkFrame(tab, bg_color="transparent", fg_color="transparent")
55
+ self.graph_container.grid(row=0, column=1, padx=(20, 20), pady=(20, 20), sticky="nsew")
56
+
57
+ self.graph_sidebar.grid_columnconfigure(0, weight=1)
58
+ self.graph_sidebar.grid_rowconfigure(8, weight=1)
59
+ self.graph_container.grid_columnconfigure(0, weight=1)
60
+ self.graph_container.grid_rowconfigure(0, weight=1)
51
61
 
52
62
  self.graph_selector_value = tk.StringVar()
53
63
  self.graph_selector_value.set("Best Cost Stacked")
54
- self.graph_selector = customtkinter.CTkOptionMenu(tab, values=["Best Cost Stacked", "Best Cost by Round", "Calibrated Parameters", "Table"], variable=self.graph_selector_value, command=self.update_graph)
64
+ self.graph_selector = customtkinter.CTkOptionMenu(self.graph_sidebar, values=["Best Cost Stacked", "Best Cost by Round", "Calibrated Parameters", "Table"], variable=self.graph_selector_value, command=self.update_graph)
55
65
  self.graph_selector.grid(row=0, column=0, padx=(20, 20), pady=(20, 20), sticky="nsew")
56
66
 
57
67
  # Add a button to call open_graph_in_browser
58
- self.graph_button = customtkinter.CTkButton(tab, text="Open Graph in Browser", command=open_graph_in_browser)
59
- self.graph_button.grid(row=0, column=2, padx=(20, 20), pady=(20, 20), sticky="nsew")
68
+ self.graph_button = customtkinter.CTkButton(self.graph_sidebar, text="Open Graph in Browser", command=open_graph_in_browser)
69
+ self.graph_button.grid(row=9, column=0, padx=(20, 20), pady=(20, 20), sticky="nsew")
60
70
 
61
71
  self.graph_image_obj = Image.open(os.path.join("./images", "refresh_hd.png"))
62
72
  self.graph_image = customtkinter.CTkImage(self.graph_image_obj, size=(1280, 720))
63
- self.graph_label = customtkinter.CTkLabel(tab, text=None, image=self.graph_image)
64
- self.graph_label.grid(row=1, column=0, columnspan=3, padx=(20, 20), pady=(20, 20), sticky="nsew")
73
+ self.graph_label = customtkinter.CTkLabel(self.graph_container, text=None, image=self.graph_image)
74
+ self.graph_label.grid(row=0, column=0, columnspan=3, padx=(20, 20), pady=(20, 20), sticky="nsew")
65
75
  #window = customtkinter.CTk()
66
76
  self.graph_label.bind('<Configure>', _resize_image)