Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Exactly repro'ing test images outside of the test suite is difficult #17305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
anntzer opened this issue May 2, 2020 · 1 comment
Open
Labels
keep Items to be ignored by the “Stale” Github Action topic: testing

Comments

@anntzer
Copy link
Contributor

anntzer commented May 2, 2020

Bug report

Bug summary

default rcparams in use when a test is being run are tricky to know, which makes repro'ing sensitive test images difficult. Specifically, in order to observe #17304, I had to remember the existence of set_font_settings_for_testing, which is rather obscure. Ideally, the effects of set_font_settings_for_testing and set_reproducibility_for_testing would simply go into _classic_test_patch.mplstyle, but I haven't thought much about how this would affect non-baseline comparisons tests (I guess we could always apply the mplstyle in an autouse fixture) or third-party libraries that may be reusing parts of our test harness.

Matplotlib version

  • Operating system:
  • Matplotlib version: master
  • Matplotlib backend (print(matplotlib.get_backend())):
  • Python version:
  • Jupyter version (if applicable):
  • Other libraries:
@github-actions
Copy link

This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!

@github-actions github-actions bot added the status: inactive Marked by the “Stale” Github Action label Jul 28, 2023
@anntzer anntzer added keep Items to be ignored by the “Stale” Github Action and removed status: inactive Marked by the “Stale” Github Action labels Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keep Items to be ignored by the “Stale” Github Action topic: testing
Projects
None yet
Development

No branches or pull requests

1 participant