feat: seaborn added to pyodide

Co-Authored-By: Silentoplayz <50341825+Silentoplayz@users.noreply.github.com>
This commit is contained in:
Timothy J. Baek 2024-05-19 09:46:43 -07:00
parent a5fa881d4a
commit 5961fc84f4
2 changed files with 6 additions and 3 deletions

View File

@ -6,7 +6,8 @@ const packages = [
'matplotlib',
'scikit-learn',
'scipy',
'regex'
'regex',
'seaborn'
];
import { loadPyodide } from 'pyodide';

View File

@ -186,7 +186,8 @@
code.includes('matplotlib') ? 'matplotlib' : null,
code.includes('sklearn') ? 'scikit-learn' : null,
code.includes('scipy') ? 'scipy' : null,
code.includes('re') ? 'regex' : null
code.includes('re') ? 'regex' : null,
code.includes('seaborn') ? 'seaborn' : null
].filter(Boolean);
console.log(packages);
@ -235,7 +236,8 @@ __builtins__.input = input`);
code.includes('pandas') ? 'pandas' : null,
code.includes('sklearn') ? 'scikit-learn' : null,
code.includes('scipy') ? 'scipy' : null,
code.includes('re') ? 'regex' : null
code.includes('re') ? 'regex' : null,
code.includes('seaborn') ? 'seaborn' : null
].filter(Boolean);
console.log(packages);