Testing figure maximize
This commit is contained in:
parent
45e603270e
commit
bd69d1c8cb
|
@ -120,7 +120,7 @@ if __name__ == "__main__":
|
||||||
connect()
|
connect()
|
||||||
threading.Thread(target=start_data_pull).start()
|
threading.Thread(target=start_data_pull).start()
|
||||||
threading.Thread(target=start_vibration).start()
|
threading.Thread(target=start_vibration).start()
|
||||||
#sleepdata.init_graph()
|
sleepdata.init_graph()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,10 @@ csv_filename_format = '{}_{}.csv'
|
||||||
|
|
||||||
plt.style.use('dark_background')
|
plt.style.use('dark_background')
|
||||||
graph_figure = plt.figure()
|
graph_figure = plt.figure()
|
||||||
|
graph_figure.canvas.set_window_title('blesleep')
|
||||||
|
figure_manager = plt.get_current_fig_manager()
|
||||||
|
figure_manager.full_screen_toggle()
|
||||||
|
|
||||||
graph_axes = graph_figure.add_subplot(1, 1, 1)
|
graph_axes = graph_figure.add_subplot(1, 1, 1)
|
||||||
graph_data = {}
|
graph_data = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue