Fix matplotlib installation step

Hello.
As we discussed by email, here is my (first) pull request which fix crash caused by matplotlib installation step.
Calling "matplotlib.\__version\__" if matplotlib is not installed makes the script crash.
Best.