Skip to content

Commit 6f7f90b

Browse files
committed
GUI colour changes
1 parent 85990c1 commit 6f7f90b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bioamptool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,14 @@ def init_gui():
136136
layout = QtWidgets.QVBoxLayout() # Create a vertical layout for the window
137137
win.setLayout(layout) # Set the layout to the window
138138
win.setWindowTitle("Real-Time Arduino Data") # Set the window title
139-
139+
140140
pg.setConfigOption('background', 'w') #background
141141
pg.setConfigOption('foreground', 'k') # Set the foreground (axes, text) color to black for contrast
142142

143143
# Create plots for each channel (6 in total)
144144
plots = []
145145
curves = []
146-
colors = ['#FF3B3B','#00FF66', '#007BFF', '#FFA500', '#FF00FF', '#FF1493'] # Different colors for each channel
146+
colors = ['#FF3B3B','#00FF66', '#FF1493', '#007BFF', '#FFA500', '#FF00FF', '#FF1493'] # Different colors for each channel
147147
for i in range(6):
148148
plot = pg.PlotWidget(title=f"Channel {i + 1}") # Create a plot widget for each channel
149149
layout.addWidget(plot) # Add the plot to the layout

0 commit comments

Comments
 (0)