Added automatic checking for matplotlib
Added automatic checking for matplotlib