dataprep updated
This commit is contained in:
@@ -3832,35 +3832,15 @@ def workout_flexchart3_view(request,*args,**kwargs):
|
||||
# xparam = xparam.replace('_slsh_','/')
|
||||
|
||||
# create interactive plot
|
||||
try:
|
||||
(
|
||||
script,
|
||||
div,
|
||||
js_resources,
|
||||
css_resources,
|
||||
workstrokesonly
|
||||
) = interactive_flex_chart2(
|
||||
encoder.decode_hex(id),xparam=xparam,yparam1=yparam1,
|
||||
(
|
||||
script, div, js_resources, css_resources, workstrokesonly
|
||||
) = interactive_flex_chart2(
|
||||
encoder.decode_hex(id),request.user.rower,
|
||||
xparam=xparam,yparam1=yparam1,
|
||||
yparam2=yparam2,
|
||||
promember=promember,plottype=plottype,
|
||||
workstrokesonly=workstrokesonly
|
||||
)
|
||||
except ValueError:
|
||||
(
|
||||
script,
|
||||
div,
|
||||
js_resources,
|
||||
css_resources,
|
||||
workstrokesonly
|
||||
) = interactive_flex_chart2(
|
||||
encoder.decode_hex(id),xparam=xparam,yparam1=yparam1,
|
||||
yparam2=yparam2,
|
||||
promember=promember,plottype=plottype,
|
||||
workstrokesonly=workstrokesonly
|
||||
)
|
||||
js_resources = ""
|
||||
css_resources = ""
|
||||
|
||||
|
||||
axchoicesbasic = {ax[0]:ax[1] for ax in axes if ax[4]=='basic'}
|
||||
axchoicespro = {ax[0]:ax[1] for ax in axes if ax[4]=='pro'}
|
||||
|
||||
Reference in New Issue
Block a user