Skip to content

Commit b16b20d

Browse files
committed
fix portfolio optimization example
1 parent 07a80ed commit b16b20d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

optimization/05_portfolio_optimization.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,3 +245,13 @@ def _(gamma, gamma_vals, markers_on, np, plt, prob, ret, risk):
245245
plt.legend(loc="upper right")
246246
plt.show()
247247
return midx, spstats, x
248+
249+
250+
@app.cell
251+
def _():
252+
import marimo as mo
253+
return (mo,)
254+
255+
256+
if __name__ == "__main__":
257+
app.run()

0 commit comments

Comments
 (0)