Import matplotlib (may need to move elsewhere for systems that do not support matplotlib/plotting).