test_plot_implicit: Cleanup the figures created after the tests are over