Private
Public Access
1
0

changed color to violet and fixed bug

This commit is contained in:
Sander Roosendaal
2018-06-21 14:17:23 +02:00
parent 8fa5221251
commit 29972188fd
2 changed files with 6 additions and 3 deletions

View File

@@ -2222,7 +2222,7 @@ def interactive_chart(id=0,promember=0,intervaldata = {}):
# add shaded bar chart areas
if intervaldata:
if intervaldata != {}:
intervaldf = pd.DataFrame(intervaldata)
intervaldf['itime'] = intervaldf['itime']*1.e3
intervaldf['time'] = intervaldf['itime'].cumsum()
@@ -2237,7 +2237,7 @@ def interactive_chart(id=0,promember=0,intervaldata = {}):
)
plot.quad(left='time',top='value',bottom='bottom',
right='time_r',source=intervalsource,color='pink',
right='time_r',source=intervalsource,color='mediumvioletred',
y_range_name='spmax',fill_alpha=0.2,line_alpha=0.2)
script, div = components(plot)