Add dependencies needed for matplotlib.

@mulby @rocha Untested, but modeled on insights/tasks/main.yml.