Clear plot cache properly when target is modified
This commit is contained in:
@@ -94,7 +94,7 @@ class FitGraph(metaclass=ABCMeta):
|
||||
hasTargets = False
|
||||
|
||||
def getPlotPoints(self, mainInput, miscInputs, xSpec, ySpec, fit, tgt=None):
|
||||
cacheKey = (fit.ID, None, tgt)
|
||||
cacheKey = (fit.ID, None, tgt.ID)
|
||||
try:
|
||||
plotData = self._plotCache[cacheKey][(ySpec, xSpec)]
|
||||
except KeyError:
|
||||
|
||||
Reference in New Issue
Block a user