plot([1,2,3,4,5,4,3,2,1], "test") attachments = get_plot_snapshots() print attachments