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

Skip to content

Adjust test tolerance to pass for me on OSX #6249

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

Merged
merged 4 commits into from
Apr 7, 2016

Conversation

jenshnielsen
Copy link
Member

These are mainly the same as changed on windows. Rather than making more OS specific hacks I have changed them everywhere but I could be convinced otherwise.
None of the changes are related to text/freetype as far as I can see but more likely to be related to floating point math and thus libraries, OS, compilers, CPU architecture ...

Might want to backport to 2.x

@mdboom
Copy link
Member

mdboom commented Mar 30, 2016

👍 from me. And I'm fine with removing the windows-specific settings.

@@ -2763,7 +2763,7 @@ def test_subplot_key_hash():
@image_comparison(baseline_images=['specgram_freqs',
'specgram_freqs_linear'],
remove_text=True, extensions=['png'],
tol=0.07 if on_win else 0.03)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also remove on_win and the sys import as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@mdboom mdboom merged commit 3b2ab9d into matplotlib:master Apr 7, 2016
mdboom added a commit that referenced this pull request Apr 7, 2016
Adjust test tolerance to pass for me on OSX
@mdboom
Copy link
Member

mdboom commented Apr 7, 2016

Cherry-picked to v2.x as 9a74cd7

@QuLogic QuLogic added this to the 2.0 (style change major release) milestone Apr 7, 2016
@jenshnielsen jenshnielsen deleted the adjusttolosx2 branch April 8, 2016 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants