Bug workaround: matplotlib and fontconfig warnings.

Matplotlib performs some initialisation on the first run.
This may produce warnings related to Fontconfig.
If this happens, re-run the test script.