Title: Add pytest-mpl image comparison tests and update CI workflow by lukelbd · Pull Request #413 · proplot-dev/proplot · GitHub
Open Graph Title: Add pytest-mpl image comparison tests and update CI workflow by lukelbd · Pull Request #413 · proplot-dev/proplot
X Title: Add pytest-mpl image comparison tests and update CI workflow by lukelbd · Pull Request #413 · proplot-dev/proplot
Description: This will finally add robust image comparison testing to proplot using matplotlib/pytest-mpl. Inside tests, I declare several functions developed from my own ad hoc jupyter notebook tests. These will be automatically detected + run by pytest, with image comparisons carried out by pytest-mpl. Further, inside tests/test_docs.py, I dynamically create testing functions from the rst-style python files in docs using jupytext, so that pytest-mpl can perform image comparisons on the documentation examples alongside the other testing files. So, the travis CI no longer compiles the documentation with make html -- instead, the existing readthedocs workflow does this, and it should also now be enabled for new pull requests (if not, will try to figure out soon). I also use a fork of pytest-mpl to support comparing arbitrary figures created by each testing function (i.e., without explicitly returning figure objects; see this branch). This work was done quite a while ago -- has just been sitting on my machine. Would like to merge it this spring.
Open Graph Description: This will finally add robust image comparison testing to proplot using matplotlib/pytest-mpl. Inside tests, I declare several functions developed from my own ad hoc jupyter notebook tests. These wi...
X Description: This will finally add robust image comparison testing to proplot using matplotlib/pytest-mpl. Inside tests, I declare several functions developed from my own ad hoc jupyter notebook tests. These wi...
Opengraph URL: https://github.com/proplot-dev/proplot/pull/413
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:2fac820e-bfef-3938-d4e2-12f48885bdd3 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | BC5A:EECED:56532E:797ECD:697B3390 |
| html-safe-nonce | 895d99831b821000f05a11395b40e41812dc966d6eeb5f949df1887463053b9a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzVBOkVFQ0VEOjU2NTMyRTo3OTdFQ0Q6Njk3QjMzOTAiLCJ2aXNpdG9yX2lkIjoiMjYwNzA5NzUwMTc5ODA1Mjc1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bf9982bcb4865cfa83a38c3f87254618f427af88ba932d6c59cd8a2d84c6f9e4 |
| hovercard-subject-tag | pull_request:1290550724 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/proplot-dev/proplot/pull/413/checks |
| twitter:image | https://avatars.githubusercontent.com/u/19657652?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19657652?s=400&v=4 |
| og:image:alt | This will finally add robust image comparison testing to proplot using matplotlib/pytest-mpl. Inside tests, I declare several functions developed from my own ad hoc jupyter notebook tests. These wi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fafe45093eef66985deae0e99f7a21cfcaab2b848d523f0b83a3c0eda47ba2d6 |
| turbo-cache-control | no-preview |
| go-import | github.com/proplot-dev/proplot git https://github.com/proplot-dev/proplot.git |
| octolytics-dimension-user_id | 108025793 |
| octolytics-dimension-user_login | proplot-dev |
| octolytics-dimension-repository_id | 113293661 |
| octolytics-dimension-repository_nwo | proplot-dev/proplot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 113293661 |
| octolytics-dimension-repository_network_root_nwo | proplot-dev/proplot |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dad016ab162cd9537e0281c81809a9612a837d5f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width