Open BernhardKonrad opened 10 years ago
Adapting something like the approach taken in this widget example might be a good way to get started here: http://nbviewer.ipython.org/github/ipython/ipython/blob/master/examples/Interactive%20Widgets/Variable%20Inspector.ipynb
The variable inspector widget is fantastic! Is there a way to execute this python code without pasting into a new cell, execute the cell, delete the cell?
sure, use IPython.notebook.kernel.execute("stuff to execute goes here")
but actually, that might not work, because that might not get the response back on the page and into the widget area...
To avoid confusion with what variables are currently defined we could add a button with something like
Or even better, display (a filtered version of) this output in the side-bar. If real estate becomes an issue maybe a filtered list of the keys is enough.