Skip to content

Commit

Permalink
Merge pull request #1911 from maartenbreddels/enable_by_default
Browse files Browse the repository at this point in the history
for notebook 5.3 you don't need to enable the extensions anymore, solves #1908
  • Loading branch information
jasongrout authored Jan 17, 2018
2 parents 67a088a + 1254e08 commit 7626dc8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Install the current version of ipywidgets using pip or conda.

```
pip install ipywidgets
jupyter nbextension enable --py --sys-prefix widgetsnbextension
jupyter nbextension enable --py --sys-prefix widgetsnbextension # can be skipped for notebook version 5.3 and above
```

- With conda:
Expand Down
1 change: 1 addition & 0 deletions widgetsnbextension/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ def run(self):
'widgetsnbextension/static/extension.js',
'widgetsnbextension/static/extension.js.map'
]),
('etc/jupyter/nbconfig/notebook.d/' , ['widgetsnbextension.json'])
],
zip_safe=False,
include_package_data = True,
Expand Down
5 changes: 5 additions & 0 deletions widgetsnbextension/widgetsnbextension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"load_extensions": {
"jupyter-js-widgets/extension": true
}
}

0 comments on commit 7626dc8

Please sign in to comment.