Re:JupyterLab is ready for users
by danielvf on Tuesday February 20, 2018 @10:32AM
(#16421058)
Yeah, output right in the notebook is important. I'm wanting them to be able to do something like this in a cell:
And then have that cells results always showing the current data as they play the game.
[ Parent
| on HN ]
I haven't used it much, but I believe you can do this by using (or more likely slightly extending) the init_cell nbextension.
https://jupyter-contrib-nbextensions.readthedocs.io/en/lates...
Oh, that's cool - it's just some javascript that's essentially clicking execute on the selected cells. That makes sense, and hacked up version of this could work fine! Thanks!
If you get this working my cousin teaches elementary school and I'd love to show it to her! Please upload it if you're feeling generous :)
I'll definitely post it to GitHub, and I'll do a Show HN after I've used it in class.
> And then have that cells results always showing the current data as they play the game.
display handles that you can update from elsewhere in the notebook might be of interest. Here's an example:
https://github.com/ipython/ipython/blob/master/examples/IPyt...