Antonio Cuni

Results 220 comments of Antonio Cuni

Uhm, this is weird. Yesterday during the workshop we tried the same code inside jupyter and it worked (i.e., it displayed the plot). But now, I tried the same code...

thank you @cynthias13w this is very useful. Also, what I can see it's very weird. Basically, "normal" jupyter/jupyterlab correctly display the plot, while jupyterlite (which is based on pyodide) doesn't....

I don't fully understand why you closed the issue. You don't need to call `display()` from py-repl, the last evaluated expression is automatically display()ed: https://github.com/pyscript/pyscript/blob/2b08ca22d5fd19e95b9486533141ba3260763f48/pyscriptjs/src/components/pyrepl.ts#L171-L174 The basic issue here is...

well, I'm not sure it's a good idea closing this issue. Jeff's answer might work but it's basically a workaround, and @cruncher12 's request seems very reasonable: py-repl should have...

> @antocuni, good news.... we disagree! 🎉 😂 > Ok, with my serious face on, I do **agree** that the current design/implementation is prone to confusing edge cases but, to...

> I honestly don't think the core of the issue itself is related to `src` or to the `` but rather to the namespace. Let me comment on specific points...

> My firm belief here is that we won't fix the problem by creating an awkward API but rather by fixing the issue at the root by fixing the execution...

> +1 on this. I think it's probably the only way we can converge. I'd also suggest that, if we all agree on this and start on this direction, we...

> As I've said elsewhere, though, my use cases tend to be more "Using PyScript to talk about Python/PyScript" rather than "Use PyScript to do things on a website," so...

@JeffersGlass I have a feeling that you probably have more anecdotes to add to this list :)