Skip to content

Commit 89a36c7

Browse files
review comments addressed
1 parent 3522360 commit 89a36c7

File tree

2 files changed

+58
-40
lines changed

2 files changed

+58
-40
lines changed

_posts/python/subplots/ff-subplots/2015-06-30-ff-subplots.html

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ <h4 id="Vertical-Figure-Factory-Charts">Vertical Figure Factory Charts<a class="
143143
</div>
144144
<div class="cell border-box-sizing code_cell rendered">
145145
<div class="input">
146-
<div class="prompt input_prompt">In&nbsp;[4]:</div>
146+
<div class="prompt input_prompt">In&nbsp;[3]:</div>
147147
<div class="inner_cell">
148148
<div class="input_area">
149149
<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>
@@ -174,6 +174,27 @@ <h4 id="Vertical-Figure-Factory-Charts">Vertical Figure Factory Charts<a class="
174174
</div>
175175
</div>
176176

177+
<div class="output_wrapper">
178+
<div class="output">
179+
180+
181+
<div class="output_area">
182+
183+
<div class="prompt"></div>
184+
185+
186+
<div class="output_subarea output_stream output_stderr output_text">
187+
<pre>/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/plotly/figure_factory/_streamline.py:357: RuntimeWarning:
188+
189+
invalid value encountered in divide
190+
191+
</pre>
192+
</div>
193+
</div>
194+
195+
</div>
196+
</div>
197+
177198
</div>
178199
<div class="cell border-box-sizing text_cell rendered"><div class="prompt input_prompt">
179200
</div>
@@ -186,7 +207,7 @@ <h4 id="Vertical-Figure-Factory-Charts">Vertical Figure Factory Charts<a class="
186207
</div>
187208
<div class="cell border-box-sizing code_cell rendered">
188209
<div class="input">
189-
<div class="prompt input_prompt">In&nbsp;[5]:</div>
210+
<div class="prompt input_prompt">In&nbsp;[4]:</div>
190211
<div class="inner_cell">
191212
<div class="input_area">
192213
<div class=" highlight hl-ipython2"><pre><span></span><span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="nb">len</span><span class="p">(</span><span class="n">fig1</span><span class="o">.</span><span class="n">data</span><span class="p">)):</span>
@@ -217,14 +238,14 @@ <h4 id="Vertical-Figure-Factory-Charts">Vertical Figure Factory Charts<a class="
217238
</div>
218239
<div class="inner_cell">
219240
<div class="text_cell_render border-box-sizing rendered_html">
220-
<p>Combine the data and layout objects to a new figure</p>
241+
<p>Combine the data and layout objects to create a figure</p>
221242

222243
</div>
223244
</div>
224245
</div>
225246
<div class="cell border-box-sizing code_cell rendered">
226247
<div class="input">
227-
<div class="prompt input_prompt">In&nbsp;[6]:</div>
248+
<div class="prompt input_prompt">In&nbsp;[5]:</div>
228249
<div class="inner_cell">
229250
<div class="input_area">
230251
<div class=" highlight hl-ipython2"><pre><span></span><span class="n">fig</span> <span class="o">=</span> <span class="n">go</span><span class="o">.</span><span class="n">Figure</span><span class="p">()</span>
@@ -246,12 +267,12 @@ <h4 id="Vertical-Figure-Factory-Charts">Vertical Figure Factory Charts<a class="
246267

247268
<div class="output_area">
248269

249-
<div class="prompt output_prompt">Out[6]:</div>
270+
<div class="prompt output_prompt">Out[5]:</div>
250271

251272

252273

253274
<div class="output_html rendered_html output_subarea output_execute_result">
254-
<iframe id="igraph" scrolling="no" style="border:none;" seamless="seamless" src="https://plot.ly/~jordanpeterson/757.embed" height="525px" width="100%"></iframe>
275+
<iframe id="igraph" scrolling="no" style="border:none;" seamless="seamless" src="https://plot.ly/~PythonPlotBot/1826.embed" height="525px" width="100%"></iframe>
255276
</div>
256277

257278
</div>
@@ -270,7 +291,7 @@ <h4 id="Horizontal-Table-and-Chart">Horizontal Table and Chart<a class="anchor-l
270291
</div>
271292
<div class="cell border-box-sizing code_cell rendered">
272293
<div class="input">
273-
<div class="prompt input_prompt">In&nbsp;[7]:</div>
294+
<div class="prompt input_prompt">In&nbsp;[6]:</div>
274295
<div class="inner_cell">
275296
<div class="input_area">
276297
<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>
@@ -333,12 +354,12 @@ <h4 id="Horizontal-Table-and-Chart">Horizontal Table and Chart<a class="anchor-l
333354

334355
<div class="output_area">
335356

336-
<div class="prompt output_prompt">Out[7]:</div>
357+
<div class="prompt output_prompt">Out[6]:</div>
337358

338359

339360

340361
<div class="output_html rendered_html output_subarea output_execute_result">
341-
<iframe id="igraph" scrolling="no" style="border:none;" seamless="seamless" src="https://plot.ly/~jordanpeterson/1337.embed" height="530px" width="100%"></iframe>
362+
<iframe id="igraph" scrolling="no" style="border:none;" seamless="seamless" src="https://plot.ly/~PythonPlotBot/461.embed" height="530px" width="100%"></iframe>
342363
</div>
343364

344365
</div>
@@ -357,7 +378,7 @@ <h4 id="Vertical-Table-and-Chart">Vertical Table and Chart<a class="anchor-link"
357378
</div>
358379
<div class="cell border-box-sizing code_cell rendered">
359380
<div class="input">
360-
<div class="prompt input_prompt">In&nbsp;[8]:</div>
381+
<div class="prompt input_prompt">In&nbsp;[7]:</div>
361382
<div class="inner_cell">
362383
<div class="input_area">
363384
<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>
@@ -428,12 +449,12 @@ <h4 id="Vertical-Table-and-Chart">Vertical Table and Chart<a class="anchor-link"
428449

429450
<div class="output_area">
430451

431-
<div class="prompt output_prompt">Out[8]:</div>
452+
<div class="prompt output_prompt">Out[7]:</div>
432453

433454

434455

435456
<div class="output_html rendered_html output_subarea output_execute_result">
436-
<iframe id="igraph" scrolling="no" style="border:none;" seamless="seamless" src="https://plot.ly/~jordanpeterson/1339.embed" height="800px" width="100%"></iframe>
457+
<iframe id="igraph" scrolling="no" style="border:none;" seamless="seamless" src="https://plot.ly/~PythonPlotBot/463.embed" height="800px" width="100%"></iframe>
437458
</div>
438459

439460
</div>

_posts/python/subplots/ff-subplots/ff-subplots.ipynb

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,20 @@
9999
},
100100
{
101101
"cell_type": "code",
102-
"execution_count": 4,
102+
"execution_count": 3,
103103
"metadata": {},
104-
"outputs": [],
104+
"outputs": [
105+
{
106+
"name": "stderr",
107+
"output_type": "stream",
108+
"text": [
109+
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/plotly/figure_factory/_streamline.py:357: RuntimeWarning:\n",
110+
"\n",
111+
"invalid value encountered in divide\n",
112+
"\n"
113+
]
114+
}
115+
],
105116
"source": [
106117
"import plotly.plotly as py\n",
107118
"import plotly.figure_factory as ff\n",
@@ -136,7 +147,7 @@
136147
},
137148
{
138149
"cell_type": "code",
139-
"execution_count": 5,
150+
"execution_count": 4,
140151
"metadata": {},
141152
"outputs": [],
142153
"source": [
@@ -163,24 +174,24 @@
163174
"cell_type": "markdown",
164175
"metadata": {},
165176
"source": [
166-
"Combine the data and layout objects to a new figure"
177+
"Combine the data and layout objects to create a figure"
167178
]
168179
},
169180
{
170181
"cell_type": "code",
171-
"execution_count": 6,
182+
"execution_count": 5,
172183
"metadata": {},
173184
"outputs": [
174185
{
175186
"data": {
176187
"text/html": [
177-
"<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\" seamless=\"seamless\" src=\"https://plot.ly/~jordanpeterson/757.embed\" height=\"525px\" width=\"100%\"></iframe>"
188+
"<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\" seamless=\"seamless\" src=\"https://plot.ly/~PythonPlotBot/1826.embed\" height=\"525px\" width=\"100%\"></iframe>"
178189
],
179190
"text/plain": [
180191
"<plotly.tools.PlotlyDisplay object>"
181192
]
182193
},
183-
"execution_count": 6,
194+
"execution_count": 5,
184195
"metadata": {},
185196
"output_type": "execute_result"
186197
}
@@ -204,19 +215,19 @@
204215
},
205216
{
206217
"cell_type": "code",
207-
"execution_count": 7,
218+
"execution_count": 6,
208219
"metadata": {},
209220
"outputs": [
210221
{
211222
"data": {
212223
"text/html": [
213-
"<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\" seamless=\"seamless\" src=\"https://plot.ly/~jordanpeterson/1337.embed\" height=\"530px\" width=\"100%\"></iframe>"
224+
"<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\" seamless=\"seamless\" src=\"https://plot.ly/~PythonPlotBot/461.embed\" height=\"530px\" width=\"100%\"></iframe>"
214225
],
215226
"text/plain": [
216227
"<plotly.tools.PlotlyDisplay object>"
217228
]
218229
},
219-
"execution_count": 7,
230+
"execution_count": 6,
220231
"metadata": {},
221232
"output_type": "execute_result"
222233
}
@@ -281,19 +292,19 @@
281292
},
282293
{
283294
"cell_type": "code",
284-
"execution_count": 8,
295+
"execution_count": 7,
285296
"metadata": {},
286297
"outputs": [
287298
{
288299
"data": {
289300
"text/html": [
290-
"<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\" seamless=\"seamless\" src=\"https://plot.ly/~jordanpeterson/1339.embed\" height=\"800px\" width=\"100%\"></iframe>"
301+
"<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\" seamless=\"seamless\" src=\"https://plot.ly/~PythonPlotBot/463.embed\" height=\"800px\" width=\"100%\"></iframe>"
291302
],
292303
"text/plain": [
293304
"<plotly.tools.PlotlyDisplay object>"
294305
]
295306
},
296-
"execution_count": 8,
307+
"execution_count": 7,
297308
"metadata": {},
298309
"output_type": "execute_result"
299310
}
@@ -393,20 +404,6 @@
393404
},
394405
"metadata": {},
395406
"output_type": "display_data"
396-
},
397-
{
398-
"name": "stderr",
399-
"output_type": "stream",
400-
"text": [
401-
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/nbconvert.py:13: ShimWarning:\n",
402-
"\n",
403-
"The `IPython.nbconvert` package has been deprecated since IPython 4.0. You should import from nbconvert instead.\n",
404-
"\n",
405-
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/publisher/publisher.py:53: UserWarning:\n",
406-
"\n",
407-
"Did you \"Save\" this notebook before running this command? Remember to save, always save.\n",
408-
"\n"
409-
]
410407
}
411408
],
412409
"source": [
@@ -423,7 +420,7 @@
423420
" 'Subplots with Plotly Figure Factory Charts',\n",
424421
" title= 'Figure Factory Subplots in Python | plotly',\n",
425422
" name = 'Figure Factory Subplots',\n",
426-
" has_thumbnail='true', thumbnail='thumbnail/ff-subplots.jpg', \n",
423+
" has_thumbnail='true', thumbnail='thumbnail/ff-subplots.jpg',\n",
427424
" language='python', \n",
428425
" display_as='multiple_axes', order=10,\n",
429426
" ipynb= '~PythonPlotBot/1828')"

0 commit comments

Comments
 (0)