Always ssign axisValues attr
This commit is contained in:
parent
f368dcb4dd
commit
115874cb05
@ -244,8 +244,7 @@ class VariationModel(object):
|
|||||||
self.origLocations = locations
|
self.origLocations = locations
|
||||||
self.axisOrder = axisOrder if axisOrder is not None else []
|
self.axisOrder = axisOrder if axisOrder is not None else []
|
||||||
self.extrapolate = extrapolate
|
self.extrapolate = extrapolate
|
||||||
if extrapolate:
|
self.axisRanges = self.computeAxisRanges(locations) if extrapolate else None
|
||||||
self.axisRanges = self.computeAxisRanges(locations)
|
|
||||||
|
|
||||||
locations = [{k: v for k, v in loc.items() if v != 0.0} for loc in locations]
|
locations = [{k: v for k, v in loc.items() if v != 0.0} for loc in locations]
|
||||||
keyFunc = self.getMasterLocationsSortKeyFunc(
|
keyFunc = self.getMasterLocationsSortKeyFunc(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user