how to test that matplotlib's show() shows a figure without actually showing it?,matplotlib.use('Template')