Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d7cc5fc

Browse files
author
yankev
committed
updated 3ds-scatter
1 parent 31918a1 commit d7cc5fc

File tree

1 file changed

+13
-18
lines changed

1 file changed

+13
-18
lines changed

_posts/python/3d-scatter/3d_scatter.ipynb

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
},
136136
{
137137
"cell_type": "code",
138-
"execution_count": 20,
138+
"execution_count": 22,
139139
"metadata": {
140140
"collapsed": false
141141
},
@@ -149,7 +149,7 @@
149149
"<plotly.tools.PlotlyDisplay object>"
150150
]
151151
},
152-
"execution_count": 20,
152+
"execution_count": 22,
153153
"metadata": {},
154154
"output_type": "execute_result"
155155
}
@@ -160,7 +160,7 @@
160160
"\n",
161161
"import numpy as np\n",
162162
"\n",
163-
"x, y, z = np.random.multivariate_normal(np.array([0,0,0]), np.eye(3), 500).transpose()\n",
163+
"x, y, z = np.random.multivariate_normal(np.array([0,0,0]), np.eye(3), 400).transpose()\n",
164164
"\n",
165165
"trace1 = go.Scatter3d(\n",
166166
" x=x,\n",
@@ -191,7 +191,7 @@
191191
},
192192
{
193193
"cell_type": "code",
194-
"execution_count": 4,
194+
"execution_count": 23,
195195
"metadata": {
196196
"collapsed": false
197197
},
@@ -226,20 +226,6 @@
226226
"text": [
227227
"Requirement already up-to-date: publisher in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages\r\n"
228228
]
229-
},
230-
{
231-
"name": "stderr",
232-
"output_type": "stream",
233-
"text": [
234-
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/nbconvert.py:13: ShimWarning:\n",
235-
"\n",
236-
"The `IPython.nbconvert` package has been deprecated. You should import from nbconvert instead.\n",
237-
"\n",
238-
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/publisher/publisher.py:53: UserWarning:\n",
239-
"\n",
240-
"Did you \"Save\" this notebook before running this command? Remember to save, always save.\n",
241-
"\n"
242-
]
243229
}
244230
],
245231
"source": [
@@ -257,6 +243,15 @@
257243
" thumbnail='/images/3d-scatter.jpg', language='python',\n",
258244
" page_type='example_index', has_thumbnail='true', display_as='chart_type', order=1)"
259245
]
246+
},
247+
{
248+
"cell_type": "code",
249+
"execution_count": null,
250+
"metadata": {
251+
"collapsed": true
252+
},
253+
"outputs": [],
254+
"source": []
260255
}
261256
],
262257
"metadata": {

0 commit comments

Comments
 (0)