ENH: generalizing template coords for multiple labels, improving DOC