Created
April 30, 2019 06:57
-
-
Save GenevieveBuckley/34941222da6df06e3771200ceab34688 to your computer and use it in GitHub Desktop.
Testing matplotlib image outputs with the pytest-mpl plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To generate baseline images | |
py.test --mpl-generate-path=baseline | |
# To run pytest with the matplotlib plugin | |
py.test --mpl | |
# See full details here | |
# https://github.com/matplotlib/pytest-mpl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment