earthlab / matplotcheck

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)!
https://matplotcheck.readthedocs.io
BSD 3-Clause "New" or "Revised" License
18 stars 8 forks source link

assert_xlabel_ydata() cannot pull text from x-label #134

Closed marty-larocque closed 4 years ago

marty-larocque commented 4 years ago

Currently, assert_xlabel_ydata() tries to convert all data from the x-label to a number. This means it cannot pull text from the x-labels.

We should enable it to pull text from the x-labels without sacrificing it's ability to pull numbers from the x-labels.