Skip to content

Commit 4f4583b

Browse files
author
Jon M. Mease
committed
Initial port of ipywidget support
Added js/ directory containing front-end widget library Added graph_objs.FigureWidget class that maps to datatypes.FigureWidget
1 parent 322de71 commit 4f4583b

17 files changed

+9004
-11
lines changed

Diff for: .gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ plotly/datatypes
2727
plotly/validators
2828

2929
.idea
30+
31+
js/node_modules/
32+
33+
# Compiled javascript
34+
plotlywidget/static/

Diff for: contributing.md

+5
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ To install the optional dependencies:
112112
pip install -r optional-requirements.txt
113113
```
114114

115+
## ipywidget development install
116+
$ jupyter nbextension enable --py widgetsnbextension
117+
$ jupyter nbextension install --py --symlink --sys-prefix plotlywidget
118+
$ jupyter nbextension enable --py --sys-prefix plotlywidget
119+
115120
## Testing
116121

117122
We take advantage of two tools to run tests:

Diff for: js/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
pythonic plotly API for use in Jupyter
2+
3+
Package Install
4+
---------------
5+
6+
**Prerequisites**
7+
- [node](http://nodejs.org/)
8+
9+
```bash
10+
npm install --save plotlywidget
11+
```

0 commit comments

Comments
 (0)