2 |
|
|
3 |
* Thuban/Model/classgen.py (generate_singletons, |
* Thuban/Model/classgen.py (generate_singletons, |
4 |
generate_uniform_distribution, generate_quantiles, |
generate_uniform_distribution, generate_quantiles, |
5 |
|
GenQuantiles0): Make sure maxValue isn't less than |
6 |
|
one, otherwise we could divide by zero. |
7 |
|
|
8 |
|
* test/test_classgen.py (ClassGenTest.doClassRangeTest, |
9 |
|
ClassGenTest.doClassSingleTest): Call doBoundsTest to |
10 |
|
check the end classification groups against the |
11 |
|
proper property values. |
12 |
|
(ClassGenTest.doBoundsTest): New. Checks the first and |
13 |
|
last classification groups to make sure their properties |
14 |
|
are the correct upper and lower bounds for a color ramp. |
15 |
|
|
16 |
|
2003-07-02 Jonathan Coles <[email protected]> |
17 |
|
|
18 |
|
* Thuban/Model/classgen.py (generate_singletons, |
19 |
|
generate_uniform_distribution, generate_quantiles, |
20 |
GenQuantiles0): The denominator was one to high when |
GenQuantiles0): The denominator was one to high when |
21 |
calculating the index for the ramp causing the index |
calculating the index for the ramp causing the index |
22 |
to never to reach one. |
to never to reach one. |