Currently, in matplotcheck, we have functions that check the plot color, style, and other simple attributes, to ensure that data types are properly grouped. This is seen in get_lines_by_attributes and get_points_by_attributes. While the idea is simple, the implementation is somewhat hard and sloppy. I would recommend making simple get functions in matplotcheck that can be called in the attributes functions to make it read cleaner, but could also be used externally to get the colors or style or what have you from the plot being graded. Just a thought!