-
Notifications
You must be signed in to change notification settings - Fork 1
Description
This runs in normal 3.2 but with WASM it does not
I get this error message.
[<vpython.core_funcs.gcurve object at 0x1aaf620>, <vpython.core_funcs.gcurve object at 0x2022398>, <vpython.core_funcs.gcurve object at 0x19bb278>, <vpython.core_funcs.gcurve object at 0x1f95940>]
Error:PythonError: Traceback (most recent call last):
File "/lib/python312.zip/_pyodide/_base.py", line 597, in eval_code_async
await CodeRunner(
File "/lib/python312.zip/_pyodide/_base.py", line 411, in run_async
coroutine = eval(self.code, globals, locals)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 14, in
File "", line 11, in do_this
File "/home/pyodide/vpython/core_funcs.py", line 304, in plot
self.jsObj.plot(*args, **kwargs)
File "https://www.glowscript.org/package/glow.3.2.min.js", line 1, in gobject.plot
File "https://www.glowscript.org/package/glow.3.2.min.js", line 1, in checkval
pyodide.ffi.JsException: Error: A quantity to plot must be an ordinary number.