Since several of the unit tests involve generating graphs, and matplotlib is changing rapidly, it would be better to have tests assert that a generated image matches an existing reference image.
Matplotlib current has a way to do this, but it's for testing matplotlib itself. This can serve as a guide for how to accomplish writing the new test function.
Since several of the unit tests involve generating graphs, and matplotlib is changing rapidly, it would be better to have tests assert that a generated image matches an existing reference image.
Matplotlib current has a way to do this, but it's for testing matplotlib itself. This can serve as a guide for how to accomplish writing the new test function.