SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Regression tests failing?

From: Michael D. <md...@st...> - 2010年04月27日 19:40:20
I made a small change to the test harness so that the tolerance can be 
set on a per-test basis. I increased the tolerance for the figimage 
test so it passes on my machine.
Cheers,
Mike
Michael Droettboom wrote:
> Jouni K. Seppänen wrote:
> 
>> The following message is a courtesy copy of an article
>> that has been posted to gmane.comp.python.matplotlib.devel as well.
>>
>> Jouni K. Seppänen <jks...@pu...> writes:
>>
>> 
>> 
>>>> It looks like Jouni wrote that test... Jouni: could you verify that the 
>>>> difference isn't significant? If it's not, we can just create a new 
>>>> baseline image.
>>>> 
>>>> 
>>> I can't replicate the problem: for me "nosetests
>>> matplotlib.tests.test_image:test_figimage" passes (Python 2.6.1,
>>> matplotlib revision 8276, OS X 10.6.3). Could you post the failing
>>> images somewhere?
>>> 
>>> 
>> Thanks for the images Michael. If I change all E1 bytes in the current
>> baseline image to E0 bytes, the images match perfectly. Sounds like a
>> change in the discretization of floating-point values to integer bytes.
>>
>> The difference is definitely not significant, but as I said, I get the
>> old image on my system. I don't object to changing the baseline image,
>> but the best solution would be to make the image diff less sensitive.
>> Unfortunately I don't have the time to pursue this now.
>> 
>> 
> Thanks for the analysis. I'll look into the image diffing and see what 
> can be done.
>
> Mike
>
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /