Skip to content

Commit 55f61af

Browse files
committed
cradle job
1 parent e2797f9 commit 55f61af

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

book/marimo/Experiment1.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,13 @@
1212

1313
# Ensure Plotly works with Marimo
1414
pio.renderers.default = "plotly_mimetype"
15+
pd.options.plotting.backend = "plotly"
1516

1617
price_file = mo.notebook_location() / "public" / "Prices_hashed.csv"
1718
prices_pl = pl.read_csv(str(price_file), try_parse_dates=True)
1819
prices_pd = prices_pl.to_pandas().set_index("date")
1920

2021

21-
@app.cell
22-
async def _():
23-
try:
24-
import sys
25-
26-
if "pyodide" in sys.modules:
27-
import micropip
28-
29-
await micropip.install("cvxsimulator")
30-
31-
except ImportError:
32-
pass
33-
34-
3522
@app.cell(hide_code=True)
3623
def _():
3724
mo.md(r"""# CTA 1.0""")

0 commit comments

Comments
 (0)