Re-enable DPS graph and make few fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# noinspection PyUnresolvedReferences
|
||||
from gui.builtinGraphs import ( # noqa: E402,F401
|
||||
# fitDamageStats,
|
||||
fitDamageStats,
|
||||
# fitDmgVsTime,
|
||||
# fitShieldRegenVsShieldPerc,
|
||||
# fitShieldAmountVsTime,
|
||||
|
||||
@@ -96,8 +96,7 @@ class Graph(metaclass=ABCMeta):
|
||||
self._cache.clear()
|
||||
elif key in self._cache:
|
||||
del self._cache[key]
|
||||
for yDef in self.yDefs:
|
||||
getattr(self, yDef.eosGraph).clearCache(key=key)
|
||||
self._eosGraph.clearCache(key=key)
|
||||
|
||||
|
||||
YDef = namedtuple('YDef', ('handle', 'unit', 'label'))
|
||||
|
||||
@@ -206,7 +206,7 @@ class GraphFrame(wx.Frame):
|
||||
fits = self.ctrlPanel.fits
|
||||
if view.hasTargets:
|
||||
targets = self.ctrlPanel.targets
|
||||
iterList = tuple(itertools.combinations(fits, targets))
|
||||
iterList = tuple(itertools.product(fits, targets))
|
||||
else:
|
||||
iterList = tuple((f, None) for f in fits)
|
||||
for fit, target in iterList:
|
||||
|
||||
Reference in New Issue
Block a user