A python package for checking and testing matplotlib plots. We use this for autograding student assignments but there are many other potential use cases including package testing (for packages with plots)!
currently when checking that the data in a plot is correct, we use [] rather than . to grab the columns. this works well however if the df has an index col you have to call it using .index
it is definitely more complexd to translate a column name to a . rather than [""] BUT might make the assert statement less fragile.
currently when checking that the data in a plot is correct, we use
[]
rather than . to grab the columns. this works well however if the df has an index col you have to call it using.index
it is definitely more complexd to translate a column name to a . rather than [""] BUT might make the assert statement less fragile.