Skip to content

Instantly share code, notes, and snippets.

@GenevieveBuckley
Created April 30, 2019 06:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GenevieveBuckley/34941222da6df06e3771200ceab34688 to your computer and use it in GitHub Desktop.
Save GenevieveBuckley/34941222da6df06e3771200ceab34688 to your computer and use it in GitHub Desktop.
Testing matplotlib image outputs with the pytest-mpl plugin
# 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