X Tutup
Skip to content

Adjust test tolerance to pass for me on OSX#6249

Merged
mdboom merged 4 commits intomatplotlib:masterfrom
jenshnielsen:adjusttolosx2
Apr 7, 2016
Merged

Adjust test tolerance to pass for me on OSX#6249
mdboom merged 4 commits intomatplotlib:masterfrom
jenshnielsen:adjusttolosx2

Conversation

@jenshnielsen
Copy link
Copy Markdown
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
Copy Markdown
Member

mdboom commented Mar 30, 2016

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

@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

X Tutup