Private
Public Access
1
0

one more group replaced by type

This commit is contained in:
2024-10-10 18:54:48 +02:00
parent 13c9759f63
commit b47628865b
2 changed files with 2 additions and 2 deletions

View File

@@ -1577,7 +1577,7 @@ def interactive_cum_flex_chart2(theworkouts, promember=0,
ids = [int(w.id) for w in theworkouts]
columns = [name for name, d in metrics.rowingmetrics]
columns_basic = [name for name, d in metrics.rowingmetrics if d['group'] == 'basic']
columns_basic = [name for name, d in metrics.rowingmetrics if d['type'] == 'basic']
columns = columns + ['spm', 'driveenergy', 'distance' ,'workoutstate']
columns_basic = columns_basic + ['spm', 'driveenergy', 'distance', 'workoutstate']
@@ -1815,7 +1815,7 @@ def interactive_flex_chart2(id, r, promember=0,
mode='rower'):
columns = [name for name, d in metrics.rowingmetrics]
columns_basic = [name for name, d in metrics.rowingmetrics if d['group'] == 'basic']
columns_basic = [name for name, d in metrics.rowingmetrics if d['type'] == 'basic']
columns = columns + ['spm', 'driveenergy', 'distance','workoutstate']
columns_basic = columns_basic + ['spm', 'driveenergy', 'distance','workoutstate']

Binary file not shown.