Generates a pyploy barplot from a YAML file