File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed
plotly/tests/test_core/test_jupyter Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 11node_modules
22fixtures /* .html
3+ ! fixtures /* .ipynb
Original file line number Diff line number Diff line change 1+ {
2+ "cells" : [
3+ {
4+ "cell_type" : " code" ,
5+ "execution_count" : null ,
6+ "metadata" : {
7+ "collapsed" : false
8+ },
9+ "outputs" : [],
10+ "source" : [
11+ " from plotly.offline import plot, iplot, init_notebook_mode\n " ,
12+ " import plotly.graph_objs as go\n " ,
13+ " \n " ,
14+ " # Make plotly work with Jupyter notebook\n " ,
15+ " init_notebook_mode()\n " ,
16+ " \n " ,
17+ " keys=['one','two','three']\n " ,
18+ " values=[1,2,3]\n " ,
19+ " \n " ,
20+ " iplot({\n " ,
21+ " \" data\" : [go.Bar(x=keys, y=values)],\n " ,
22+ " \" layout\" : go.Layout(title=\" Sample Bar Chart\" )\n " ,
23+ " })"
24+ ]
25+ },
26+ {
27+ "cell_type" : " code" ,
28+ "execution_count" : null ,
29+ "metadata" : {
30+ "collapsed" : true
31+ },
32+ "outputs" : [],
33+ "source" : []
34+ }
35+ ],
36+ "metadata" : {
37+ "kernelspec" : {
38+ "display_name" : " Python 3" ,
39+ "language" : " python" ,
40+ "name" : " python3"
41+ },
42+ "language_info" : {
43+ "codemirror_mode" : {
44+ "name" : " ipython" ,
45+ "version" : 3
46+ },
47+ "file_extension" : " .py" ,
48+ "mimetype" : " text/x-python" ,
49+ "name" : " python" ,
50+ "nbconvert_exporter" : " python" ,
51+ "pygments_lexer" : " ipython3" ,
52+ "version" : " 3.5.2"
53+ }
54+ },
55+ "nbformat" : 4 ,
56+ "nbformat_minor" : 1
57+ }
You can’t perform that action at this time.
0 commit comments