Skip to content

Commit b5f27c2

Browse files
committed
Include plotly in code terrarium sandbox for prettier charts
1 parent 69d240b commit b5f27c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/python-interpreter/service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class PyodidePythonEnvironment implements PythonEnvironment {
8888
pyodide.FS.writeFile(pyodide?.PATH.join2(pythonEnvironmentHomeDir, f.filename), f.byte_data);
8989
})
9090
// load the packages we commonly use to avoid the latency hit during the user req
91-
await pyodide.loadPackage(["numpy", "matplotlib", "pandas"])
91+
await pyodide.loadPackage(["numpy", "matplotlib", "pandas", "plotly"])
9292

9393
// set interrupt buffer to allow for termination
9494
pyodide.setInterruptBuffer(this.interrupt);

0 commit comments

Comments
 (0)