More dependencies for matplotlib. Merged commands into one.