-
Notifications
You must be signed in to change notification settings - Fork 4
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
test_log_plotter fails locally #90
Comments
I think we can adjust the tolerance for |
@johannesring Thanks for the suggestion! By setting
https://matplotlib.org/devdocs/devel/testing.html#writing-an-image-comparison-test |
Yes, it looks like it is only a font mismatch. Does it look like a font mismatch for all the failed tests? The tests runs fine on the osx-64 CI test runner. Can you post the error message for one of the failed tests? |
@keiyamamo - I finally found the reason for this problem. When I install matplotlib via pip, the tests fail and I see the same failed diff images as you. However, the tests runs fine when matplotlib is installed as a conda package. Can you confirm this? Do you have matplotlib installed via pip? Does it work if your run the tests in a new environment created from |
@johannesring Thanks for the update! I just created an environment with
Diff images looked almost identical as the one I shared before. If this is very narrow OS or PC specific problem, i would say that we can leave it for now since it does not have a problem on github CI. |
I agree, let's leave it for now. |
Closing for now since it works on github workflow |
Hi @johannesring
I just ran pytest locally on my Mac book and
test_log_plotter
failed. Here is diff image that was automatically generated. I’m guessing it is specific to my machine, but do you have any idea how to fix this?The text was updated successfully, but these errors were encountered: