added more dependencies for matplotlib