11 |
|
|
12 |
from wxPython.wx import * |
from wxPython.wx import * |
13 |
|
|
14 |
from Thuban.Model.classification import Classification, ClassGroupRange, \ |
from Thuban.Model.classification import ClassGroupProperties |
|
ClassGroupSingleton, ClassGroupProperties |
|
15 |
|
|
16 |
from Thuban.Model.table import Table, FIELDTYPE_INT, FIELDTYPE_DOUBLE, \ |
from Thuban.Model.table import FIELDTYPE_INT, FIELDTYPE_DOUBLE, \ |
17 |
FIELDTYPE_STRING |
FIELDTYPE_STRING |
18 |
|
|
|
from Thuban.Model.color import Color |
|
19 |
from Thuban.Model.range import Range |
from Thuban.Model.range import Range |
20 |
|
|
21 |
import classifier, resource |
import classifier, resource |
198 |
and max is not None \ |
and max is not None \ |
199 |
and numGroups is not None: |
and numGroups is not None: |
200 |
|
|
201 |
self.clazz = ClassGenerator().GenUnifromDistribution( |
self.clazz = ClassGenerator().GenUniformDistribution( |
202 |
min, max, numGroups, ramp, |
min, max, numGroups, ramp, |
203 |
self.type == FIELDTYPE_INT) |
self.type == FIELDTYPE_INT) |
204 |
|
|