File tree Expand file tree Collapse file tree 2 files changed +13
-70
lines changed
_posts/python/heatmap-webgl Expand file tree Collapse file tree 2 files changed +13
-70
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 29
29
"cell_type": "markdown",
30
30
"metadata": {},
31
31
"source": [
32
- "## Downloading the image:"
32
+ "### Downloading the image:"
33
33
]
34
34
},
35
35
{
40
40
},
41
41
"outputs": [],
42
42
"source": [
43
- "image_url = 'https://s-media-cache-ak0.pinimg.com/736x/26/63/9a/26639a3cf8d30c21a9a2ca65695712d9 .jpg'\n",
43
+ "image_url = 'https://images.plot.ly/plotly-documentation/images/heatmap-galaxy .jpg'\n",
44
44
"f = cStringIO.StringIO(urllib.urlopen(image_url).read())\n",
45
45
"img = PIL.Image.open(f)"
46
46
]
72
72
"cell_type": "markdown",
73
73
"metadata": {},
74
74
"source": [
75
- "## Processing the image for generating heatmap:"
75
+ "### Processing the image for generating heatmap:"
76
76
]
77
77
},
78
78
{
106
106
"cell_type": "markdown",
107
107
"metadata": {},
108
108
"source": [
109
- "## Generating the heatmap:"
109
+ "### Generating the heatmap:"
110
110
]
111
111
},
112
112
{
133
133
},
134
134
{
135
135
"cell_type": "code",
136
- "execution_count": 9,
137
- "metadata": {
138
- "collapsed": false
139
- },
140
- "outputs": [
141
- {
142
- "name": "stdout",
143
- "output_type": "stream",
144
- "text": [
145
- "test output\n"
146
- ]
147
- }
148
- ],
149
- "source": []
150
- },
151
- {
152
- "cell_type": "code",
153
- "execution_count": 10,
136
+ "execution_count": 11,
154
137
"metadata": {
155
138
"collapsed": false
156
139
},
178
161
},
179
162
"metadata": {},
180
163
"output_type": "display_data"
181
- },
182
- {
183
- "name": "stderr",
184
- "output_type": "stream",
185
- "text": [
186
- "//anaconda/lib/python2.7/site-packages/IPython/nbconvert.py:13: ShimWarning:\n",
187
- "\n",
188
- "The `IPython.nbconvert` package has been deprecated. You should import from nbconvert instead.\n",
189
- "\n",
190
- "//anaconda/lib/python2.7/site-packages/publisher/publisher.py:53: UserWarning:\n",
191
- "\n",
192
- "Did you \"Save\" this notebook before running this command? Remember to save, always save.\n",
193
- "\n"
194
- ]
195
164
}
196
165
],
197
166
"source": [
You can’t perform that action at this time.
0 commit comments