[reportlab-users] Minor bug in spider.py, with patch
robin at reportlab.com
Wed Jun 15 10:03:54 EDT 2005
Max M wrote:
> In <site-packages>/reportlab/graphics/charts/spider.py there is a minor
> by zero bug.
> If all elemnents are 0.0, theMax will also be 0.0. That will make this
> line fail
> with a zero division error:
> scaledRow.append(element / theMax)
..... thanks for the fix, I think it will be sufficient to set theMax to 1.0 if
it is zero.
More information about the reportlab-users