##// END OF EJS Templates
Merge pull request #2179 from dopplershift/pylab-switch...
Merge pull request #2179 from dopplershift/pylab-switch Enable switching %pylab mode between inline and a single gui mode in a single notebook. With this merge, `%pylab` can be called interactively to toggle inline/GUI (matplotlib floating windows) mode. After initializing `%pylab inline`, now one can call `%pylab` without arguments to activate the default GUI or ask for a specific one as usual. IPython will detect if a different GUI is requested if one was already activated and will refuse to do so (to prevent multiple event loops from running concurrently, which often leads to problems).

File last commit:

r7739:dff285da
r8027:6dac6929 merge
Show More
directview.ipynb
45 lines | 763 B | text/plain | TextLexer
Brian Granger
Moving direct view widget to docs/examples.
r7211 {
"metadata": {
"name": "directview"
},
"nbformat": 3,
MinRK
rebuild example notebooks...
r7739 "nbformat_minor": 0,
Brian Granger
Moving direct view widget to docs/examples.
r7211 "worksheets": [
{
"cells": [
{
"cell_type": "code",
MinRK
rebuild example notebooks...
r7739 "collapsed": false,
Brian Granger
Moving direct view widget to docs/examples.
r7211 "input": [
MinRK
rebuild example notebooks...
r7739 "from directview import interact\n",
Brian Granger
Update directview.ipynb & allowing no-callbacks in kernel.execute.
r7212 "from IPython.parallel import Client"
],
"language": "python",
MinRK
rebuild example notebooks...
r7739 "metadata": {},
Brian Granger
Update directview.ipynb & allowing no-callbacks in kernel.execute.
r7212 "outputs": []
},
{
"cell_type": "code",
MinRK
rebuild example notebooks...
r7739 "collapsed": false,
Brian Granger
Update directview.ipynb & allowing no-callbacks in kernel.execute.
r7212 "input": [
MinRK
rebuild example notebooks...
r7739 "c = Client()\n",
Brian Granger
Update directview.ipynb & allowing no-callbacks in kernel.execute.
r7212 "dv = c[:]"
],
"language": "python",
MinRK
rebuild example notebooks...
r7739 "metadata": {},
Brian Granger
Update directview.ipynb & allowing no-callbacks in kernel.execute.
r7212 "outputs": []
},
{
"cell_type": "code",
MinRK
rebuild example notebooks...
r7739 "collapsed": false,
Brian Granger
Update directview.ipynb & allowing no-callbacks in kernel.execute.
r7212 "input": [
"interact(dv)"
Brian Granger
Moving direct view widget to docs/examples.
r7211 ],
"language": "python",
MinRK
rebuild example notebooks...
r7739 "metadata": {},
Brian Granger
Moving direct view widget to docs/examples.
r7211 "outputs": []
}
MinRK
rebuild example notebooks...
r7739 ],
"metadata": {}
Brian Granger
Moving direct view widget to docs/examples.
r7211 }
]
}