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

Skip to content

Commit b52e446

Browse files
committed
Fixing the plot
1 parent 49c62bf commit b52e446

File tree

2 files changed

+13
-70
lines changed

2 files changed

+13
-70
lines changed

_posts/python/heatmap-webgl/2015-06-30-heatmap-webgl.html

Lines changed: 8 additions & 34 deletions
Large diffs are not rendered by default.

_posts/python/heatmap-webgl/heatmap-webgl.ipynb

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"cell_type": "markdown",
3030
"metadata": {},
3131
"source": [
32-
"## Downloading the image:"
32+
"### Downloading the image:"
3333
]
3434
},
3535
{
@@ -40,7 +40,7 @@
4040
},
4141
"outputs": [],
4242
"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",
4444
"f = cStringIO.StringIO(urllib.urlopen(image_url).read())\n",
4545
"img = PIL.Image.open(f)"
4646
]
@@ -72,7 +72,7 @@
7272
"cell_type": "markdown",
7373
"metadata": {},
7474
"source": [
75-
"## Processing the image for generating heatmap:"
75+
"### Processing the image for generating heatmap:"
7676
]
7777
},
7878
{
@@ -106,7 +106,7 @@
106106
"cell_type": "markdown",
107107
"metadata": {},
108108
"source": [
109-
"## Generating the heatmap:"
109+
"### Generating the heatmap:"
110110
]
111111
},
112112
{
@@ -133,24 +133,7 @@
133133
},
134134
{
135135
"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,
154137
"metadata": {
155138
"collapsed": false
156139
},
@@ -178,20 +161,6 @@
178161
},
179162
"metadata": {},
180163
"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-
]
195164
}
196165
],
197166
"source": [

0 commit comments

Comments
 (0)