Ensure we close the figure.
Merge pull request #1135 from rhattersley/fix-open-plots

Close figures after colorbar tests.