mg-pso-gui 0.0.188__tar.gz → 0.0.190__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/PKG-INFO +1 -1
  2. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mg_pso_gui.egg-info/PKG-INFO +1 -1
  3. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/VisualizeTab/VisualizeTab.py +18 -8
  4. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/setup.py +1 -1
  5. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mg_pso_gui.egg-info/SOURCES.txt +0 -0
  6. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mg_pso_gui.egg-info/dependency_links.txt +0 -0
  7. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mg_pso_gui.egg-info/entry_points.txt +0 -0
  8. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mg_pso_gui.egg-info/requires.txt +0 -0
  9. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mg_pso_gui.egg-info/top_level.txt +0 -0
  10. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/__init__.py +0 -0
  11. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/HomePage.py +0 -0
  12. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/OptionManager.py +0 -0
  13. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/PlatformTab/PlatformTab.py +0 -0
  14. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/PlatformTab/__init__.py +0 -0
  15. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/RunTab/RunTab.py +0 -0
  16. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/RunTab/__init__.py +0 -0
  17. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/SetupTab/BoundsEditorWindow.py +0 -0
  18. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/SetupTab/BoundsList.py +0 -0
  19. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/SetupTab/CalibrationParametersView.py +0 -0
  20. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/SetupTab/FunctionsList.py +0 -0
  21. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/SetupTab/ListParametersView.py +0 -0
  22. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/SetupTab/SetupTab.py +0 -0
  23. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/SetupTab/StaticParameterView.py +0 -0
  24. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/SetupTab/StepView.py +0 -0
  25. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/SetupTab/__init__.py +0 -0
  26. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/VisualizeTab/__init__.py +0 -0
  27. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/__init__.py +0 -0
  28. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/images/collapse.png +0 -0
  29. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/images/down.png +0 -0
  30. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/images/expand.png +0 -0
  31. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/images/play.png +0 -0
  32. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/images/refresh.png +0 -0
  33. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/images/refresh_hd.png +0 -0
  34. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/images/stop.png +0 -0
  35. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/images/trash.png +0 -0
  36. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/gui/images/up.png +0 -0
  37. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/mgpsogui.py +0 -0
  38. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/start.yaml +0 -0
  39. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/util/CTkToolTip/__init__.py +0 -0
  40. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/util/CTkToolTip/ctk_tooltip.py +0 -0
  41. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/util/GraphGenerator.py +0 -0
  42. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/util/PSORunner.py +0 -0
  43. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/mgpsogui/util/__init__.py +0 -0
  44. {mg-pso-gui-0.0.188 → mg-pso-gui-0.0.190}/setup.cfg +0 -0
@@ -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>
@@ -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>
@@ -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)
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
  import codecs
3
3
  import os
4
4
 
5
- VERSION = '0.0.188'
5
+ VERSION = '0.0.190'
6
6
  DESCRIPTION = 'GUI for MG-PSO'
7
7
  LONG_DESCRIPTION = open('../README.md').read()
8
8
 
File without changes