Skip to content

Commit 55c8e39

Browse files
authored
Merge pull request #29 from stefmolin/clarify-tabs-choice
Indicate why screen recording shows tabs but code doesn't have it anymore
2 parents 8ddabc7 + f9e3d25 commit 55c8e39

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

notebooks/3-interactivity.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1555,7 +1555,8 @@
15551555
"<p>The result can be interacted with after displaying it, but this kind of interactivity only works in the notebook. Here's an example:</p>\n",
15561556
"\n",
15571557
"<div style=\"text-align: center;\">\n",
1558-
" <img width=\"60%\" src=\"https://raw.githubusercontent.com/stefmolin/python-data-viz-workshop/main/media/linked_plots.gif\" style=\"border: 5px solid #555; min-width: 800px;\">\n",
1558+
" <img width=\"60%\" src=\"https://raw.githubusercontent.com/stefmolin/python-data-viz-workshop/main/media/linked_plots.gif\" style=\"border: 5px solid #555; min-width: 800px; margin: 0px auto;\">\n",
1559+
" <small><em>This example uses tabs to display the layout rather than side by side like we did. Tabs are a little buggy in this version, so we didn't use them.</em></small>\n",
15591560
"</div>"
15601561
]
15611562
},

slides/3-interactivity.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,8 @@
15961596
"<p>The result can be interacted with after displaying it, but this kind of interactivity only works in the notebook. Here's an example:</p>\n",
15971597
"\n",
15981598
"<div style=\"text-align: center;\">\n",
1599-
" <img width=\"60%\" src=\"https://raw.githubusercontent.com/stefmolin/python-data-viz-workshop/main/media/linked_plots.gif\" style=\"border: 5px solid #555; min-width: 800px;\">\n",
1599+
" <img alt=\"Linked plots example\" width=\"60%\" src=\"https://raw.githubusercontent.com/stefmolin/python-data-viz-workshop/main/media/linked_plots.gif\" style=\"border: 5px solid #555; min-width: 800px; margin: 0px auto;\">\n",
1600+
" <small><em>This example uses tabs to display the layout rather than side by side like we did. Tabs are a little buggy in this version, so we didn't use them.</em></small>\n",
16001601
"</div>"
16011602
]
16021603
},

slides/html/workshop.slides.html

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14984,9 +14984,9 @@ <h4 id="2.-Handle-HoloViz-imports-and-set-up-the-Matplotlib-backend.">2. Handle
1498414984
<div class="jp-OutputArea jp-Cell-outputArea">
1498514985
<div class="jp-OutputArea-child">
1498614986
<div class="jp-OutputPrompt jp-OutputArea-prompt"></div>
14987-
<div class="jp-RenderedJavaScript jp-OutputArea-output" data-mime-type="application/javascript" id="35a3a073-a64f-43e7-9c65-457f0b6e4262" tabindex="0">
14987+
<div class="jp-RenderedJavaScript jp-OutputArea-output" data-mime-type="application/javascript" id="4df77d93-0bfc-4620-988f-128397f1d575" tabindex="0">
1498814988
<script type="text/javascript">
14989-
var element = document.getElementById('35a3a073-a64f-43e7-9c65-457f0b6e4262');
14989+
var element = document.getElementById('4df77d93-0bfc-4620-988f-128397f1d575');
1499014990
(function(root) {
1499114991
function now() {
1499214992
return new Date();
@@ -15226,9 +15226,9 @@ <h4 id="2.-Handle-HoloViz-imports-and-set-up-the-Matplotlib-backend.">2. Handle
1522615226
</div>
1522715227
<div class="jp-OutputArea-child">
1522815228
<div class="jp-OutputPrompt jp-OutputArea-prompt"></div>
15229-
<div class="jp-RenderedJavaScript jp-OutputArea-output" data-mime-type="application/javascript" id="4441c4c9-1f93-4e56-815e-56e2c6438f06" tabindex="0">
15229+
<div class="jp-RenderedJavaScript jp-OutputArea-output" data-mime-type="application/javascript" id="a7e552dc-5ba7-4812-bb4a-ed8f77022b7b" tabindex="0">
1523015230
<script type="text/javascript">
15231-
var element = document.getElementById('4441c4c9-1f93-4e56-815e-56e2c6438f06');
15231+
var element = document.getElementById('a7e552dc-5ba7-4812-bb4a-ed8f77022b7b');
1523215232

1523315233
if ((window.PyViz === undefined) || (window.PyViz instanceof HTMLElement)) {
1523415234
window.PyViz = {comms: {}, comm_status:{}, kernels:{}, receivers: {}, plot_index: []}
@@ -16037,9 +16037,9 @@ <h3 id="Solution">Solution<a class="anchor-link" href="#Solution">¶</a></h3>
1603716037
<div class="jp-OutputArea jp-Cell-outputArea">
1603816038
<div class="jp-OutputArea-child">
1603916039
<div class="jp-OutputPrompt jp-OutputArea-prompt"></div>
16040-
<div class="jp-RenderedJavaScript jp-OutputArea-output" data-mime-type="application/javascript" id="79232354-2d7a-4084-8daa-70ab59df6da3" tabindex="0">
16040+
<div class="jp-RenderedJavaScript jp-OutputArea-output" data-mime-type="application/javascript" id="f96bac7a-282e-4284-8f9f-e2cf8684510e" tabindex="0">
1604116041
<script type="text/javascript">
16042-
var element = document.getElementById('79232354-2d7a-4084-8daa-70ab59df6da3');
16042+
var element = document.getElementById('f96bac7a-282e-4284-8f9f-e2cf8684510e');
1604316043
(function(root) {
1604416044
function now() {
1604516045
return new Date();
@@ -16279,9 +16279,9 @@ <h3 id="Solution">Solution<a class="anchor-link" href="#Solution">¶</a></h3>
1627916279
</div>
1628016280
<div class="jp-OutputArea-child">
1628116281
<div class="jp-OutputPrompt jp-OutputArea-prompt"></div>
16282-
<div class="jp-RenderedJavaScript jp-OutputArea-output" data-mime-type="application/javascript" id="f1a4f2ff-a611-4936-a911-c65727f6c9f8" tabindex="0">
16282+
<div class="jp-RenderedJavaScript jp-OutputArea-output" data-mime-type="application/javascript" id="1eebf2f0-2ac1-4aaa-87bf-a20e66193915" tabindex="0">
1628316283
<script type="text/javascript">
16284-
var element = document.getElementById('f1a4f2ff-a611-4936-a911-c65727f6c9f8');
16284+
var element = document.getElementById('1eebf2f0-2ac1-4aaa-87bf-a20e66193915');
1628516285

1628616286
if ((window.PyViz === undefined) || (window.PyViz instanceof HTMLElement)) {
1628716287
window.PyViz = {comms: {}, comm_status:{}, kernels:{}, receivers: {}, plot_index: []}
@@ -17133,9 +17133,9 @@ <h3 id="2.-Import-the-required-libraries-and-set-up-the-Bokeh-backend.">2. Impor
1713317133
<div class="jp-OutputArea jp-Cell-outputArea">
1713417134
<div class="jp-OutputArea-child">
1713517135
<div class="jp-OutputPrompt jp-OutputArea-prompt"></div>
17136-
<div class="jp-RenderedJavaScript jp-OutputArea-output" data-mime-type="application/javascript" id="d2dff9fb-c0c8-4a06-aa76-0ad0b91a6f7e" tabindex="0">
17136+
<div class="jp-RenderedJavaScript jp-OutputArea-output" data-mime-type="application/javascript" id="3e92d968-372d-4801-b183-cc30f3a974a5" tabindex="0">
1713717137
<script type="text/javascript">
17138-
var element = document.getElementById('d2dff9fb-c0c8-4a06-aa76-0ad0b91a6f7e');
17138+
var element = document.getElementById('3e92d968-372d-4801-b183-cc30f3a974a5');
1713917139
(function(root) {
1714017140
function now() {
1714117141
return new Date();
@@ -17375,9 +17375,9 @@ <h3 id="2.-Import-the-required-libraries-and-set-up-the-Bokeh-backend.">2. Impor
1737517375
</div>
1737617376
<div class="jp-OutputArea-child">
1737717377
<div class="jp-OutputPrompt jp-OutputArea-prompt"></div>
17378-
<div class="jp-RenderedJavaScript jp-OutputArea-output" data-mime-type="application/javascript" id="84976ed9-d9c0-4c45-80ad-c9a6761119d0" tabindex="0">
17378+
<div class="jp-RenderedJavaScript jp-OutputArea-output" data-mime-type="application/javascript" id="f1c28231-d2da-4b5c-b9f6-de55495262a1" tabindex="0">
1737917379
<script type="text/javascript">
17380-
var element = document.getElementById('84976ed9-d9c0-4c45-80ad-c9a6761119d0');
17380+
var element = document.getElementById('f1c28231-d2da-4b5c-b9f6-de55495262a1');
1738117381

1738217382
if ((window.PyViz === undefined) || (window.PyViz instanceof HTMLElement)) {
1738317383
window.PyViz = {comms: {}, comm_status:{}, kernels:{}, receivers: {}, plot_index: []}
@@ -18163,7 +18163,8 @@ <h3 id="4.-Link-selections-across-the-visualizations-in-the-layout.">4. Link sel
1816318163
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput" data-mime-type="text/markdown">
1816418164
<p>The result can be interacted with after displaying it, but this kind of interactivity only works in the notebook. Here's an example:</p>
1816518165
<div style="text-align: center;">
18166-
<img alt="No description has been provided for this image" src="https://raw.githubusercontent.com/stefmolin/python-data-viz-workshop/main/media/linked_plots.gif" style="border: 5px solid #555; min-width: 800px;" width="60%"/>
18166+
<img alt="Linked plots example" src="https://raw.githubusercontent.com/stefmolin/python-data-viz-workshop/main/media/linked_plots.gif" style="border: 5px solid #555; min-width: 800px; margin: 0px auto;" width="60%"/>
18167+
<small><em>This example uses tabs to display the layout rather than side by side like we did. Tabs are a little buggy in this version, so we didn't use them.</em></small>
1816718168
</div>
1816818169
</div>
1816918170
</div>

0 commit comments

Comments
 (0)