Skip to content

Commit

Permalink
Include plotly in code terrarium sanbox for prettier charts
Browse files Browse the repository at this point in the history
  • Loading branch information
debanjum committed Nov 20, 2024
1 parent 69d240b commit aaadbe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/python-interpreter/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class PyodidePythonEnvironment implements PythonEnvironment {
pyodide.FS.writeFile(pyodide?.PATH.join2(pythonEnvironmentHomeDir, f.filename), f.byte_data);
})
// load the packages we commonly use to avoid the latency hit during the user req
await pyodide.loadPackage(["numpy", "matplotlib", "pandas"])
await pyodide.loadPackage(["numpy", "matplotlib", "pandas", "plotly"])

// set interrupt buffer to allow for termination
pyodide.setInterruptBuffer(this.interrupt);
Expand Down

0 comments on commit aaadbe4

Please sign in to comment.