Compare image output from unit tests to expectation
For stepping up the unit tests, I found this neat project: https://github.com/matplotlib/pytest-mpl
It allows to compare pictures to a reference image. This would be nice to check inside the unittests if the correct image (e.g. with ID) was created. However, it seems to work only with pytest and not the core unittest lib. But it's pretty cool.