changed color to violet and fixed bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user