Private
Public Access
1
0
This commit is contained in:
2024-05-20 17:02:29 +02:00
parent 0b98354dfa
commit ab64e0b763
2 changed files with 6 additions and 8 deletions

View File

@@ -1815,7 +1815,6 @@ def interactive_flex_chart2(id, r, promember=0,
workstrokesonly=workstrokesonly, for_chart=True)
if r.usersmooth > 1: # pragma: no cover
for column in columns:
try:
@@ -1823,9 +1822,8 @@ def interactive_flex_chart2(id, r, promember=0,
nrsteps = int(log2(r.usersmooth))
for i in range(nrsteps):
rowdata = rowdata.with_columns(
(utils.ewmovingaverage(
rowdata[column], 5)).alias(column)
)
column = utils.ewmovingaverage(
rowdata[column], 5))
except KeyError:
pass