improved band
This commit is contained in:
@@ -1937,7 +1937,7 @@ def performance_chart(user, startdate=None, enddate=None, kfitness=42, kfatigue=
|
|||||||
|
|
||||||
plot.line('date', 'fitness', source=source, color='blue',
|
plot.line('date', 'fitness', source=source, color='blue',
|
||||||
legend_label=fitlabel)
|
legend_label=fitlabel)
|
||||||
band = Band(base='date', upper='fitness', source=source, level='underlay',
|
band = Band(base='date', upper='fitness', lower=0, source=source, level='underlay',
|
||||||
fill_alpha=0.2, fill_color='blue')
|
fill_alpha=0.2, fill_color='blue')
|
||||||
plot.add_layout(band)
|
plot.add_layout(band)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user