Commit 508b38c3 authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

fixes plots

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -33,7 +33,7 @@ def plot_fulldata(fulldata, axes=None, fig=None, save=False, output="fulldata.pn
if realtime:
fig.canvas.draw()
fig.canvas.flush_events()
if plot_ads:
if not plot_ads:
return fig, (ax1,ax2), (line1,line2)
else:
return fig, (ax1, ax2), (line1, line2, line3, line4)
......@@ -66,4 +66,4 @@ def update_realtime_fulldata_plot(last_measurement, acquired_dataset, lines, axe
fig.canvas.draw()
fig.canvas.flush_events()
return fig,(ax1,ax2), lines, np.array([i_rt,u_rt,t]).T
\ No newline at end of file
return fig,(ax1,ax2), lines, np.array([i_rt,u_rt,t]).T
Supports Markdown
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