nbextensions

test

  • a
  • b
  • c
In [51]:
a = 111

a is {{a}}.

In [44]:
%%latex
\begin{equation}
E = F \cdot s
\end{equation}
\begin{equation} E = F \cdot s \end{equation}
In [50]:
import IPython
import IPython.extensions.autoreload
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-50-9e96b500e4f6> in <module>()
      1 import IPython
----> 2 import IPython.load_extensions

ImportError: No module named 'IPython.load_extensions'
In [48]:
import IPython.html
IPython.html.nbextensions.install_nbextension('https://raw.github.com/ipython-contrib/IPython-notebook-extensions/master/nbextensions/usability/dragdrop/main.js')
downloading https://raw.github.com/ipython-contrib/IPython-notebook-extensions/master/nbextensions/usability/dragdrop/main.js to /var/folders/zl/rlmkmk5d3vv_jb8397gd61900000gn/T/tmp10r9o9yv/main.js
copying /var/folders/zl/rlmkmk5d3vv_jb8397gd61900000gn/T/tmp10r9o9yv/main.js -> /usr/local/share/jupyter/nbextensions/main.js
/Users/knt/.pyenv/versions/anaconda3-2.5.0/lib/python3.5/site-packages/IPython/html.py:14: ShimWarning: The `IPython.html` package has been deprecated. You should import from `notebook` instead. `IPython.html.widgets` has moved to `ipywidgets`.
  "`IPython.html.widgets` has moved to `ipywidgets`.", ShimWarning)
In [49]:
%%javascript
IPython.load_extensions('usability/dragdrop/main');
In [21]:
%%javascript
IPython.load_extensions('usability/rubberband/main');

h2

1916-02-11 04:05:08
In [ ]:
1916-02-11 04:14:40