Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { nord } from 'react-syntax-highlighter/dist/cjs/styles/prism'
//TODO: Or wait until jupyterlite has streamlined the installation process of user-specified packages

// See: https://github.com/jupyterlite/jupyterlite/issues/151
const preRunCode = `%23%20Import%20packages%0Aimport%20xarray%20as%20xr%0Aimport%20numpy%20as%20np%0Aimport%20pandas%20as%20pd`
const preRunCode = `%23%20Import%20packages%0Aimport%20xarray%20as%20xr%0Aimport%20numpy%20as%20np%0Aimport%20pandas%20as%20pd%0Aimport%20matplotlib%20as%20mpl`

// https://github.com/jobovy/jupyterlite-repl-prerun
const jupyterliteInstance = 'https://jupyterlite.github.io/demo/repl'
Expand Down