plots: add a test on the existence of matlplotlib and verison