diff --git a/CoLo-AT/data_analysis/realtime_plot.py b/CoLo-AT/data_analysis/realtime_plot.py index f8dd0c70f8725b0fb82a13f71e030718bf91df81..a9c65ffcc9c9fd9337916b82700b6ca6e3f51ec7 100644 --- a/CoLo-AT/data_analysis/realtime_plot.py +++ b/CoLo-AT/data_analysis/realtime_plot.py @@ -225,7 +225,9 @@ def animate_plot(dataset_labels, data_recorder, analyzer, lm = None): #ax.legend(prop=fontP, bbox_to_anchor=(1.0, 0.8), loc=9, ncol=1) ax.legend(prop=fontP, loc =1) ax_var.legend(prop=fontP, bbox_to_anchor=(1.1, 0.8), loc=9, ncol=1) - # Show graph - plt.show() + # TODO - fix gif formatting # (optional) save as GIF, comment the following line if you don't want this - ani.save('colo_demo.gif', writer="imagemagick", fps=60) + # https://imagemagick.org/ used for install + # ani.save('animated_plot.gif', writer="imagemagick", fps=60) # sort by date modified in Colo folder to quickly fine, don't forget to delete colo_demo frames + # print("******Saved gif in Colo folder!******") + plt.show()