Commit f9e4c738 authored by Tristan Renon's avatar Tristan Renon
Browse files

V1.1 Exe created

parent d7ead232
......@@ -13,7 +13,7 @@ executables = [
]
build_exe_options = {"includes":["matplotlib.backends.backend_tkagg", "scipy.signal"],
"include_files":[(matplotlib.get_data_path(), "mpl-data"), os.path.dirname(scipy.__file__)],
"include_files":[(matplotlib.get_data_path(), "mpl-data"), os.path.dirname(scipy.__file__), "logoHEI.ppm"],
"excludes":[],
}
......
......@@ -302,7 +302,6 @@ class Window(Frame):
self.textPhaseShiftReg = Entry(self, width=50)
self.textPhaseShiftReg.grid(row=11, column=0)
# -----------------------------------------------------------------------------------
self.textPhases.insert(0, "5")
......@@ -326,12 +325,13 @@ class Window(Frame):
canvas = tk.Canvas(root, width=300, height=80)
canvas.place(x=0, y=0)
# "Global" declaration otherwise the garbage collector get rid of the picture
self.img = tk.PhotoImage(file="logoHEI.ppm")
canvas.create_image(1, 1, anchor=tk.NW, image=self.img)
self.fig, (self.ax1, self.ax2, self.ax3) = plt.subplots(1, 3, figsize=(13, 4))
# Dictionary to create multiple buttons
# Lists for radio buttons
self.radioVals = ['0', '1', '2', '3', '4', '5']
self.radioString = ['Sinus', 'Rectangle', 'Triangle', 'Trapezoidal', 'Sinus with harmonic 3', 'Sinus PWM']
self.radioValue = tk.IntVar()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment