Fixed bug
This commit is contained in:
@@ -632,16 +632,10 @@ def interactive_cum_flex_chart2(theworkouts,promember=0,
|
|||||||
return ['','<p>No non-zero data in selection</p>','','']
|
return ['','<p>No non-zero data in selection</p>','','']
|
||||||
|
|
||||||
|
|
||||||
# datadf['x1'] = datadf.ix[:,xparam]
|
datadf['x1'] = datadf.ix[:,xparam]
|
||||||
datadf = datadf.rename(columns={
|
datadf['y1'] = datadf.ix[:,yparam1]
|
||||||
xparam:'x1',
|
|
||||||
yparam1:'y1',
|
|
||||||
})
|
|
||||||
|
|
||||||
# datadf['y1'] = datadf.ix[:,yparam1]
|
|
||||||
if yparam2 != 'None':
|
if yparam2 != 'None':
|
||||||
# datadf['y2'] = datadf.ix[:,yparam2]
|
datadf['y2'] = datadf.ix[:,yparam2]
|
||||||
datadf = datadf.rename(columns={yparam2:'y2'})
|
|
||||||
else:
|
else:
|
||||||
datadf['y2'] = datadf['y1']
|
datadf['y2'] = datadf['y1']
|
||||||
|
|
||||||
@@ -680,8 +674,6 @@ def interactive_cum_flex_chart2(theworkouts,promember=0,
|
|||||||
datadf.copy()
|
datadf.copy()
|
||||||
)
|
)
|
||||||
|
|
||||||
print "jet",timezone.now()
|
|
||||||
|
|
||||||
# Add hover to this comma-separated string and see what changes
|
# Add hover to this comma-separated string and see what changes
|
||||||
if (promember==1):
|
if (promember==1):
|
||||||
TOOLS = 'save,pan,box_zoom,wheel_zoom,reset,tap,resize,crosshair'
|
TOOLS = 'save,pan,box_zoom,wheel_zoom,reset,tap,resize,crosshair'
|
||||||
|
|||||||
Reference in New Issue
Block a user