|
|
@ -415,7 +415,7 @@ def result_view(): |
|
|
|
fig['layout'] = {} |
|
|
|
fig['layout'] = {} |
|
|
|
data['weight'] = json.dumps(fig, cls=plotly.utils.PlotlyJSONEncoder) |
|
|
|
data['weight'] = json.dumps(fig, cls=plotly.utils.PlotlyJSONEncoder) |
|
|
|
# Plotting weight |
|
|
|
# Plotting weight |
|
|
|
fig = (r+1).cumprod().plot() |
|
|
|
fig = (r+1).cumprod().iloc[::5, :].plot() |
|
|
|
fig['layout'] = {} |
|
|
|
fig['layout'] = {} |
|
|
|
data['ret'] = json.dumps(fig, cls=plotly.utils.PlotlyJSONEncoder) |
|
|
|
data['ret'] = json.dumps(fig, cls=plotly.utils.PlotlyJSONEncoder) |
|
|
|
# Plotting ret bars |
|
|
|
# Plotting ret bars |
|
|
|