This gives me this error:
traceback (most recent call final) : File "C: \ Python26 \" in the file: "C: \ Users \ Public \ SoundLog \ Code \ Codido Python \ SoundLog \ Plugins \ NoisePlugin.py", line 113, onPaint dc.DrawLine (valueWI, valueHI, valueWF, valueHF) Lib \ site-packaging \ wx-2.8-msw-unicode \ wx \ _gdi.py ", line 3177, _gdi_.DC_DrawLine (* args, ** quarges) back in draw line overflow error: float infinity not converted into integer
I can not afford it Can I save?
One of the four values is valueWI, value hh, valueff, valff
float infinity Has been set on. Just shorten it to a normal and completely local solution, call your DrawLine
:
ALOT = 1e6 vals = [max (min ( X, ALOT, LOAT) in x (value yi, value, value, valf)] dc.DrawLine (* vals)
The best, of course, must understand what value is infinite , And why - and fix it. But, this better course is application-based, and to calculate those values, the code is completely Irbr does, you do not give us absolutely no clue, so it is difficult to provide a specific help with better choice!)
Comments
Post a Comment