Skip to content

Commit ad93b8d

Browse files
committed
Fixed typo prevented execution of sample code
1 parent fb15e73 commit ad93b8d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

_posts/python/user_guide_python/new_py_guide.ipynb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@
2525
},
2626
{
2727
"cell_type": "code",
28-
"execution_count": 79,
28+
"execution_count": 4,
2929
"metadata": {
3030
"collapsed": false
3131
},
3232
"outputs": [
3333
{
3434
"data": {
3535
"text/html": [
36-
"<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\" seamless=\"seamless\" src=\"https://plot.ly/~kevintest/356.embed\" height=\"525px\" width=\"100%\"></iframe>"
36+
"<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\" seamless=\"seamless\" src=\"https://plot.ly/~bradprin/22.embed\" height=\"525px\" width=\"100%\"></iframe>"
3737
],
3838
"text/plain": [
3939
"<plotly.tools.PlotlyDisplay object>"
4040
]
4141
},
42-
"execution_count": 79,
42+
"execution_count": 4,
4343
"metadata": {},
4444
"output_type": "execute_result"
4545
}
@@ -48,7 +48,7 @@
4848
"import plotly.plotly as py\n",
4949
"import plotly.graph_objs as go\n",
5050
"\n",
51-
"trace1 = go.Scatter(x=[1,2,3], y=[4,5,6], marker={'color': 'red', 'symbol': 104, 'size': \"10\"}, \n",
51+
"trace1 = go.Scatter(x=[1,2,3], y=[4,5,6], marker={'color': 'red', 'symbol': 104, 'size': 10}, \n",
5252
" mode=\"markers+lines\", text=[\"one\",\"two\",\"three\"], name='1st Trace')\n",
5353
" \n",
5454
"data=go.Data([trace1])\n",
@@ -1729,7 +1729,7 @@
17291729
"name": "stdout",
17301730
"output_type": "stream",
17311731
"text": [
1732-
"Requirement already up-to-date: publisher in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages\r\n"
1732+
"Requirement already up-to-date: publisher in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages\n"
17331733
]
17341734
}
17351735
],
@@ -1761,23 +1761,23 @@
17611761
],
17621762
"metadata": {
17631763
"kernelspec": {
1764-
"display_name": "Python 2",
1764+
"display_name": "Python 3",
17651765
"language": "python",
1766-
"name": "python2"
1766+
"name": "python3"
17671767
},
17681768
"language_info": {
17691769
"codemirror_mode": {
17701770
"name": "ipython",
1771-
"version": 2
1771+
"version": 3
17721772
},
17731773
"file_extension": ".py",
17741774
"mimetype": "text/x-python",
17751775
"name": "python",
17761776
"nbconvert_exporter": "python",
1777-
"pygments_lexer": "ipython2",
1778-
"version": "2.7.9"
1777+
"pygments_lexer": "ipython3",
1778+
"version": "3.7.2"
17791779
}
17801780
},
17811781
"nbformat": 4,
1782-
"nbformat_minor": 0
1782+
"nbformat_minor": 2
17831783
}

0 commit comments

Comments
 (0)