Close the last work-in-progress figure in JSMA tutorial.
@@ -190,6 +190,8 @@ def mnist_tutorial_jsma(train_start=0, train_end=60000, test_start=0,
# Finally, block & display a grid of all the adversarial examples
if viz_enabled:
+ import matplotlib.pyplot as plt
+ plt.close(figure)
_ = grid_visual(grid_viz_data)
return report
