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

Skip to content

Commit 58c7632

Browse files
committed
closes plotly#1189
1 parent c2c1eee commit 58c7632

File tree

2 files changed

+14
-29
lines changed

2 files changed

+14
-29
lines changed

_posts/python/maps/mapbox/2015-06-30-mapbox.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
name: Python Scatter Plots with Mapbox
55
has_thumbnail: true
66
thumbnail: thumbnail/scatter-mapbox.jpg
7-
mapbox_access_token: pk.eyJ1IjoiY2hlbHNlYXBsb3RseSIsImEiOiJjajdnbDNnaXcxOGg2MzNvM2wydWU2MHNvIn0.9PgLMb9a_czD9h4D-7V9dQ
7+
mapbox_access_token: pk.eyJ1IjoicHJpeWF0aGFyc2FuIiwiYSI6ImNqbGRyMGQ5YTBhcmkzcXF6YWZldnVvZXoifQ.sN7gyyHTIq1BSfHQRBZdHA
88
layout: user-guide
99
name: Scatter Plots on Mapbox
1010
language: python
@@ -13,6 +13,7 @@
1313
has_thumbnail: true
1414
page_type: example_index
1515
order: 7
16+
ipynb: ~notebook_demo/261
1617
---
1718
{% raw %}
1819
<div class="cell border-box-sizing text_cell rendered"><div class="prompt input_prompt">
@@ -60,7 +61,7 @@ <h4 id="Version-Check">Version Check<a class="anchor-link" href="#Version-Check"
6061

6162

6263
<div class="output_text output_subarea output_execute_result">
63-
<pre>&#39;2.4.1&#39;</pre>
64+
<pre>&#39;3.4.2&#39;</pre>
6465
</div>
6566

6667
</div>
@@ -247,7 +248,7 @@ <h4 id="Nuclear-Waste-Sites-on-Campuses">Nuclear Waste Sites on Campuses<a class
247248
</div>
248249
<div class="cell border-box-sizing code_cell rendered">
249250
<div class="input">
250-
<div class="prompt input_prompt">In&nbsp;[5]:</div>
251+
<div class="prompt input_prompt">In&nbsp;[4]:</div>
251252
<div class="inner_cell">
252253
<div class="input_area">
253254
<div class=" highlight hl-ipython2"><pre><span></span><span class="kn">import</span> <span class="nn">plotly.plotly</span> <span class="kn">as</span> <span class="nn">py</span>
@@ -286,7 +287,7 @@ <h4 id="Nuclear-Waste-Sites-on-Campuses">Nuclear Waste Sites on Campuses<a class
286287
<span class="p">),</span>
287288
<span class="n">hoverinfo</span><span class="o">=</span><span class="s1">&#39;none&#39;</span>
288289
<span class="p">)]</span>
289-
290+
290291
<span class="n">layout</span> <span class="o">=</span> <span class="n">go</span><span class="o">.</span><span class="n">Layout</span><span class="p">(</span>
291292
<span class="n">title</span><span class="o">=</span><span class="s1">&#39;Nuclear Waste Sites on Campus&#39;</span><span class="p">,</span>
292293
<span class="n">autosize</span><span class="o">=</span><span class="bp">True</span><span class="p">,</span>
@@ -319,7 +320,7 @@ <h4 id="Nuclear-Waste-Sites-on-Campuses">Nuclear Waste Sites on Campuses<a class
319320

320321
<div class="output_area">
321322

322-
<div class="prompt output_prompt">Out[5]:</div>
323+
<div class="prompt output_prompt">Out[4]:</div>
323324

324325

325326

@@ -342,6 +343,6 @@ <h4 id="Reference">Reference<a class="anchor-link" href="#Reference">&#182;</a><
342343
</div>
343344
</div>
344345
</div>
346+
345347

346-
347-
{% endraw %}
348+
{% endraw %}

_posts/python/maps/mapbox/mapbox.ipynb

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
{
2727
"data": {
2828
"text/plain": [
29-
"'2.4.1'"
29+
"'3.4.2'"
3030
]
3131
},
3232
"execution_count": 1,
@@ -196,7 +196,7 @@
196196
},
197197
{
198198
"cell_type": "code",
199-
"execution_count": 5,
199+
"execution_count": 4,
200200
"metadata": {},
201201
"outputs": [
202202
{
@@ -208,7 +208,7 @@
208208
"<plotly.tools.PlotlyDisplay object>"
209209
]
210210
},
211-
"execution_count": 5,
211+
"execution_count": 4,
212212
"metadata": {},
213213
"output_type": "execute_result"
214214
}
@@ -309,20 +309,6 @@
309309
},
310310
"metadata": {},
311311
"output_type": "display_data"
312-
},
313-
{
314-
"name": "stderr",
315-
"output_type": "stream",
316-
"text": [
317-
"C:\\Python27\\lib\\site-packages\\IPython\\nbconvert.py:13: ShimWarning:\n",
318-
"\n",
319-
"The `IPython.nbconvert` package has been deprecated since IPython 4.0. You should import from nbconvert instead.\n",
320-
"\n",
321-
"C:\\Python27\\lib\\site-packages\\publisher\\publisher.py:53: UserWarning:\n",
322-
"\n",
323-
"Did you \"Save\" this notebook before running this command? Remember to save, always save.\n",
324-
"\n"
325-
]
326312
}
327313
],
328314
"source": [
@@ -339,17 +325,15 @@
339325
" title = 'Python Scatter Plots with Mapbox | Plotly',\n",
340326
" name = 'Scatter Plots on Mapbox',\n",
341327
" has_thumbnail='true', thumbnail='thumbnail/scatter-mapbox.jpg', \n",
342-
" language='python', page_type='example_index',\n",
343-
" display_as='maps', order=7, mapbox_access_token = 'pk.eyJ1IjoiY2hlbHNlYXBsb3RseSIsImEiOiJjajdnbDNnaXcxOGg2MzNvM2wydWU2MHNvIn0.9PgLMb9a_czD9h4D-7V9dQ'\n",
328+
" language='python', page_type='example_index', ipynb='~notebook_demo/261',\n",
329+
" display_as='maps', order=7, mapbox_access_token = 'pk.eyJ1IjoicHJpeWF0aGFyc2FuIiwiYSI6ImNqbGRyMGQ5YTBhcmkzcXF6YWZldnVvZXoifQ.sN7gyyHTIq1BSfHQRBZdHA'\n",
344330
")"
345331
]
346332
},
347333
{
348334
"cell_type": "code",
349335
"execution_count": null,
350-
"metadata": {
351-
"collapsed": true
352-
},
336+
"metadata": {},
353337
"outputs": [],
354338
"source": []
355339
}

0 commit comments

Comments
 (0)