Skip to content

Add a sort values parameter to assert_xy #380

@nkorinek

Description

@nkorinek

Sometimes, in xy plots, there's no consistent way to test that the lines are exactly the same. For example, if a student is plotting two lines, the xy plot data grabbed from the plot will change based on which line they plot first. For plots like this, although it's not ideal, it's more consistent to sort the xy values grabbed from the plot and grade against the sorted values. This way we check that all of the values from all lines are in the plot consistently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions