minification of html
This commit is contained in:
@@ -907,7 +907,7 @@ def interactive_flex_chart2(id=0,promember=0,
|
||||
return "","CSV Data File Not Found"
|
||||
else:
|
||||
rowdata.sort_values(by='time',ascending=True,inplace=True)
|
||||
|
||||
|
||||
workoutstateswork = [1,4,5,8,9,6,7]
|
||||
workoutstatesrest = [3]
|
||||
workoutstatetransition = [0,2,10,11,12,13]
|
||||
@@ -983,7 +983,7 @@ def interactive_flex_chart2(id=0,promember=0,
|
||||
source2 = ColumnDataSource(
|
||||
rowdata.copy()
|
||||
)
|
||||
|
||||
|
||||
# Add hover to this comma-separated string and see what changes
|
||||
if (promember==1):
|
||||
TOOLS = 'save,pan,box_zoom,wheel_zoom,reset,tap,hover,resize,crosshair'
|
||||
@@ -996,7 +996,7 @@ def interactive_flex_chart2(id=0,promember=0,
|
||||
|
||||
plot = Figure(x_axis_type=x_axis_type,y_axis_type=y_axis_type,
|
||||
tools=TOOLS,
|
||||
toolbar_sticky=False,
|
||||
toolbar_sticky=False
|
||||
)
|
||||
|
||||
x1means = Span(location=x1mean,dimension='height',line_color='green',
|
||||
@@ -1235,8 +1235,6 @@ def interactive_flex_chart2(id=0,promember=0,
|
||||
js_resources = INLINE.render_js()
|
||||
css_resources = INLINE.render_css()
|
||||
|
||||
|
||||
|
||||
return [script,div,js_resources,css_resources]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user