Add matplotlib dependency.