51
51
.highlight .m { color: var(--jp-mirror-editor-number-color) } /* Literal.Number */
52
52
.highlight .s { color: var(--jp-mirror-editor-string-color) } /* Literal.String */
53
53
.highlight .ow { color: var(--jp-mirror-editor-operator-color); font-weight: bold } /* Operator.Word */
54
+ .highlight .pm { color: var(--jp-mirror-editor-punctuation-color) } /* Punctuation.Marker */
54
55
.highlight .w { color: var(--jp-mirror-editor-variable-color) } /* Text.Whitespace */
55
56
.highlight .mb { color: var(--jp-mirror-editor-number-color) } /* Literal.Number.Bin */
56
57
.highlight .mf { color: var(--jp-mirror-editor-number-color) } /* Literal.Number.Float */
14484
14485
.jp-RenderedHTMLCommon.jp-RenderedHTML.jp-OutputArea-output.jp-OutputArea-executeResult {
14485
14486
padding-right: 5px !important; /* padding after lead-in text */
14486
14487
}
14488
+ .jp-RenderedSVG > svg, .jp-OutputArea-output > svg { /* scale SVG plots */
14489
+ width: 75%;
14490
+ }
14491
+ .jp-Collapser { /* hide that blue collapse button on the side of cells that does nothing */
14492
+ display: none;
14493
+ }
14487
14494
.CodeMirror pre {
14488
14495
padding: 0.4em !important;
14489
14496
overflow-x: scroll !important; /* allow scrolling to see full code block */
14495
14502
right: 5px !important;
14496
14503
bottom: 5px !important;
14497
14504
}
14498
- .jp-RenderedSVG > svg, .jp-OutputArea-output > svg { /* scale SVG plots */
14499
- width: 75% ;
14505
+ .slides { /* pull slides to left */
14506
+ margin-left: -20px !important ;
14500
14507
}
14501
14508
:root {
14502
14509
--jp-ui-font-size1: 11.5px; /* size of tables in outputs */
@@ -14619,17 +14626,14 @@
14619
14626
14620
14627
/* Scrollbars */
14621
14628
14622
- ::-webkit-scrollbar
14623
- {
14629
+ ::-webkit-scrollbar {
14624
14630
width: 6px;
14625
14631
height: 6px;
14626
14632
}
14627
- ::-webkit-scrollbar *
14628
- {
14629
- background:transparent;
14633
+ ::-webkit-scrollbar * {
14634
+ background: transparent;
14630
14635
}
14631
- ::-webkit-scrollbar-thumb
14632
- {
14636
+ ::-webkit-scrollbar-thumb {
14633
14637
background: #727272 !important;
14634
14638
}
14635
14639
</style>
@@ -14656,12 +14660,12 @@
14656
14660
},
14657
14661
displayAlign: 'center',
14658
14662
CommonHTML: {
14659
- linebreaks: {
14660
- automatic: true
14663
+ linebreaks: {
14664
+ automatic: true
14661
14665
}
14662
14666
}
14663
14667
});
14664
-
14668
+
14665
14669
MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
14666
14670
}
14667
14671
}
14683
14687
</a>
14684
14688
</div>
14685
14689
</div>
14686
- <div class="slides"><section><section>
14690
+ <div class="slides"><section ><section >
14687
14691
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell">
14688
14692
<div class="jp-Cell-inputWrapper">
14689
14693
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
@@ -14694,7 +14698,7 @@ <h1 id="Introduction-to-Data-Analysis-Using-Pandas">Introduction to Data Analysi
14694
14698
</div>
14695
14699
</div>
14696
14700
</div>
14697
- </div></section><section>
14701
+ </div></section><section >
14698
14702
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell">
14699
14703
<div class="jp-Cell-inputWrapper">
14700
14704
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
@@ -14712,7 +14716,7 @@ <h2 id="Bio">Bio<a class="anchor-link" href="#Bio">¶</a></h2><ul>
14712
14716
</div>
14713
14717
</div>
14714
14718
</div>
14715
- </div></section></section><section><section>
14719
+ </div></section></section><section ><section >
14716
14720
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell">
14717
14721
<div class="jp-Cell-inputWrapper">
14718
14722
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
@@ -14724,7 +14728,7 @@ <h3 id="Prerequisites">Prerequisites<a class="anchor-link" href="#Prerequisites"
14724
14728
</div>
14725
14729
</div>
14726
14730
</div>
14727
- </div></section></section><section><section>
14731
+ </div></section></section><section ><section >
14728
14732
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell">
14729
14733
<div class="jp-Cell-inputWrapper">
14730
14734
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
@@ -14741,15 +14745,15 @@ <h3 id="Session-Outline">Session Outline<a class="anchor-link" href="#Session-Ou
14741
14745
</div>
14742
14746
</div>
14743
14747
</div>
14744
- </div></section></section><section><section>
14748
+ </div></section></section><section ><section >
14745
14749
<div class="jp-Cell jp-MarkdownCell jp-Notebook-cell">
14746
14750
<div class="jp-Cell-inputWrapper">
14747
14751
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
14748
14752
</div>
14749
14753
<div class="jp-InputArea jp-Cell-inputArea"><div class="jp-InputPrompt jp-InputArea-prompt">
14750
14754
</div><div class="jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput celltag_id_follow-along" data-mime-type="text/markdown">
14751
14755
<h2 id="Let's-get-started">Let's get started<a class="anchor-link" href="#Let's-get-started">¶</a></h2><p><em>Be sure to follow along in the <a href="https://github.com/stefmolin/pandas-workshop/tree/main/notebooks">notebooks</a>.</em></p>
14752
- <p>< img width="30%" src="https://www.pngkey.com/png/detail/42-428839_silhouette-face-bamboo-cartoon-wild-bear-cute-panda.png" alt="Silhouette, Face, Bamboo, Cartoon, Wild, Bear, Cute - Panda Black And White@pngkey.com" style="min-width: 300px"></p >
14756
+ <img width="30%" src="https://www.pngkey.com/png/detail/42-428839_silhouette-face-bamboo-cartoon-wild-bear-cute-panda.png" alt="Silhouette, Face, Bamboo, Cartoon, Wild, Bear, Cute - Panda Black And White@pngkey.com" style="min-width: 300px">
14753
14757
14754
14758
</div>
14755
14759
</div>
@@ -14821,7 +14825,8 @@ <h2 id="Let's-get-started">Let's get started<a class="anchor-link" href="#Let's-
14821
14825
if (!isNaN(input)) {
14822
14826
const requestedSlideNumber = Math.max(Math.min(input, slides.length) - 1, 0);
14823
14827
const slideIndices = Reveal.getIndices(slides[requestedSlideNumber]);
14824
- Reveal.slide(slideIndices.h, slideIndices.v, 100); // set fragment to large number to ensure the full slide is displayed
14828
+ // set fragment to large number (100) to ensure the full slide is displayed
14829
+ Reveal.slide(slideIndices.h, slideIndices.v, 100);
14825
14830
}
14826
14831
else if (typeof input === "string" || input instanceof String) {
14827
14832
const slideName = input.replaceAll(' ', '-');
@@ -14903,6 +14908,26 @@ <h2 id="Let's-get-started">Let's get started<a class="anchor-link" href="#Let's-
14903
14908
() => { window.location = `#/${id}`; }
14904
14909
);
14905
14910
}
14911
+
14912
+ // fix any collisions in the clip-path introduced from reproducible SVG plots
14913
+ // that cause plot components not to render (clipPath objects with duplicate IDs)
14914
+ const clipPathIds = {};
14915
+ $('clipPath').each((index, element) => {
14916
+ const oldId = $(element).attr('id');
14917
+ if (oldId in clipPathIds) {
14918
+ // change this id and grab the parent SVG
14919
+ // and then for all the elements with clip-path switch the id
14920
+ const newId = `${oldId}${clipPathIds[oldId]}`;
14921
+ $(element).attr('id', newId);
14922
+ $(element).closest('svg').find('[clip-path]').each((index, item) => {
14923
+ if ($(item).attr('clip-path') === `url(#${oldId})`) {
14924
+ $(item).attr('clip-path', `url(#${newId})`);
14925
+ }
14926
+ });
14927
+ clipPathIds[oldId] += 1;
14928
+ }
14929
+ else clipPathIds[oldId] = 1;
14930
+ });
14906
14931
}
14907
14932
);
14908
14933
</script>
0 commit comments