WillzWayn commited on
Commit
a5cf20e
1 Parent(s): 9f95049

add ffmi_range["description"]

Browse files
Files changed (1) hide show
  1. FFMI.py +2 -1
FFMI.py CHANGED
@@ -85,7 +85,8 @@ def plot_ffmi_curves(height_m, gender):
85
  size=5, opacity=0.6,
86
  line=dict(color=ffmi_range.get("line_color", ffmi_range["color"]))
87
  ),
88
- hovertext=[f'Weight: {weight_kg:.2f}<br>BodyFat: {body_fat:.2f}<br>FFMI: {ffmi:.2f}' for ffmi,weight_kg, body_fat in
 
89
 
90
  zip(ffmi_values, weight_kg_values, body_fat_values)],
91
  hoverinfo='text'
 
85
  size=5, opacity=0.6,
86
  line=dict(color=ffmi_range.get("line_color", ffmi_range["color"]))
87
  ),
88
+ hovertext=[
89
+ f'FFMI: {ffmi:.2f}<br>Weight: {weight_kg:.2f}<br>BodyFat: {body_fat:.2f}<br>{ffmi_range["description"]}' for ffmi,weight_kg, body_fat in
90
 
91
  zip(ffmi_values, weight_kg_values, body_fat_values)],
92
  hoverinfo='text'