Skip to content

Commit

Permalink
Make description a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
stefmolin committed Apr 11, 2024
1 parent 6b33a97 commit a9e9689
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 19 deletions.
52 changes: 38 additions & 14 deletions slides/html/workshop.slides.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
<meta
name="keywords"
content="technology, workshop, data visualization, Python, data science, slides" />
<link rel="manifest" href="/favicon/site.webmanifest" />
<meta
property="og:url"
content="https://stefaniemolin.com/python-data-viz-workshop/" />
Expand All @@ -55,7 +54,32 @@
<meta property="og:image:height" content="1560" />

<title>Beyond the Basics: Data Visualization in Python workshop slides | Stefanie Molin</title>
<link rel="shortcut icon" type="image/x-icon" href="/favicon/favicon.ico"><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
<link rel="manifest" href="/favicon/site.webmanifest" />
<link rel="shortcut icon" type="image/x-icon" href="/favicon/favicon.ico">
<link
rel="apple-touch-icon"
sizes="180x180"
href="/favicon/apple-touch-icon.png" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon/favicon-32x32.png" />
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon/favicon-16x16.png" />
<link
rel="icon"
type="image/png"
sizes="192x192"
href="/favicon/android-chrome-192x192.png" />
<link
rel="icon"
type="image/png"
sizes="512x512"
href="/favicon/android-chrome-512x512.png" /><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>

<!-- General and theme style sheets -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/reveal.css">
Expand Down Expand Up @@ -122778,9 +122802,9 @@ <h4 id="2.-Handle-HoloViz-imports-and-set-up-the-Matplotlib-backend.">2. Handle



<div id="b58e017d-0a04-4983-abb9-d5b7e6fab167" class="jp-RenderedJavaScript jp-OutputArea-output " data-mime-type="application/javascript">
<div id="dc9019e3-43ce-49ac-bcdd-01341a6a8d56" class="jp-RenderedJavaScript jp-OutputArea-output " data-mime-type="application/javascript">
<script type="text/javascript">
var element = document.getElementById('b58e017d-0a04-4983-abb9-d5b7e6fab167');
var element = document.getElementById('dc9019e3-43ce-49ac-bcdd-01341a6a8d56');
(function(root) {
function now() {
return new Date();
Expand Down Expand Up @@ -124509,9 +124533,9 @@ <h4 id="2.-Handle-HoloViz-imports-and-set-up-the-Matplotlib-backend.">2. Handle



<div id="127658d6-6de4-4ddf-a3da-caa95e9b8128" class="jp-RenderedJavaScript jp-OutputArea-output " data-mime-type="application/javascript">
<div id="b2c560f5-c172-48e8-ba05-6c57e1e668b4" class="jp-RenderedJavaScript jp-OutputArea-output " data-mime-type="application/javascript">
<script type="text/javascript">
var element = document.getElementById('127658d6-6de4-4ddf-a3da-caa95e9b8128');
var element = document.getElementById('b2c560f5-c172-48e8-ba05-6c57e1e668b4');

if ((window.PyViz === undefined) || (window.PyViz instanceof HTMLElement)) {
window.PyViz = {comms: {}, comm_status:{}, kernels:{}, receivers: {}, plot_index: []}
Expand Down Expand Up @@ -125323,9 +125347,9 @@ <h3 id="Solution">Solution<a class="anchor-link" href="#Solution">&#182;</a></h3



<div id="b8a8f67d-cbff-4a81-b423-244ae981be6b" class="jp-RenderedJavaScript jp-OutputArea-output " data-mime-type="application/javascript">
<div id="6465b99b-8658-496a-9d3e-3f613a936092" class="jp-RenderedJavaScript jp-OutputArea-output " data-mime-type="application/javascript">
<script type="text/javascript">
var element = document.getElementById('b8a8f67d-cbff-4a81-b423-244ae981be6b');
var element = document.getElementById('6465b99b-8658-496a-9d3e-3f613a936092');
(function(root) {
function now() {
return new Date();
Expand Down Expand Up @@ -127054,9 +127078,9 @@ <h3 id="Solution">Solution<a class="anchor-link" href="#Solution">&#182;</a></h3



<div id="7f857e4f-aed2-4a2b-8d6f-5f1bfcc3d99e" class="jp-RenderedJavaScript jp-OutputArea-output " data-mime-type="application/javascript">
<div id="f9a16a1a-8ecb-409a-8892-f8f5ca6825dd" class="jp-RenderedJavaScript jp-OutputArea-output " data-mime-type="application/javascript">
<script type="text/javascript">
var element = document.getElementById('7f857e4f-aed2-4a2b-8d6f-5f1bfcc3d99e');
var element = document.getElementById('f9a16a1a-8ecb-409a-8892-f8f5ca6825dd');

if ((window.PyViz === undefined) || (window.PyViz instanceof HTMLElement)) {
window.PyViz = {comms: {}, comm_status:{}, kernels:{}, receivers: {}, plot_index: []}
Expand Down Expand Up @@ -127898,9 +127922,9 @@ <h3 id="2.-Import-the-required-libraries-and-set-up-the-Bokeh-backend.">2. Impor



<div id="d2c9450c-4ac0-4813-9704-8e88dfe6a0de" class="jp-RenderedJavaScript jp-OutputArea-output " data-mime-type="application/javascript">
<div id="8a9a3d38-1728-457e-887d-1dbcef22a32a" class="jp-RenderedJavaScript jp-OutputArea-output " data-mime-type="application/javascript">
<script type="text/javascript">
var element = document.getElementById('d2c9450c-4ac0-4813-9704-8e88dfe6a0de');
var element = document.getElementById('8a9a3d38-1728-457e-887d-1dbcef22a32a');
(function(root) {
function now() {
return new Date();
Expand Down Expand Up @@ -129629,9 +129653,9 @@ <h3 id="2.-Import-the-required-libraries-and-set-up-the-Bokeh-backend.">2. Impor



<div id="051bf72c-16da-4bbf-bbc1-2fdbd20da27f" class="jp-RenderedJavaScript jp-OutputArea-output " data-mime-type="application/javascript">
<div id="024cf703-7b87-4d68-a5fc-e4543cbb38f5" class="jp-RenderedJavaScript jp-OutputArea-output " data-mime-type="application/javascript">
<script type="text/javascript">
var element = document.getElementById('051bf72c-16da-4bbf-bbc1-2fdbd20da27f');
var element = document.getElementById('024cf703-7b87-4d68-a5fc-e4543cbb38f5');

if ((window.PyViz === undefined) || (window.PyViz instanceof HTMLElement)) {
window.PyViz = {comms: {}, comm_status:{}, kernels:{}, receivers: {}, plot_index: []}
Expand Down
30 changes: 28 additions & 2 deletions slides/templates/larger_font/index.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{% set nb_title = nb.metadata.get('title', '') or resources['metadata']['name'] %}
{% set repo_name = 'python-data-viz-workshop' %}
{% set svg_plot_max_height = 650 %}
{% set description = "The human brain excels at finding patterns in visual representations, which is why data visualizations are essential to any analysis. Done right, they bridge the gap between those analyzing the data and those consuming the analysis. However, learning to create impactful, aesthetically-pleasing visualizations can often be challenging. This session will equip you with the skills to make customized visualizations for your data using Python." %}

{% from 'mathjax.html.j2' import mathjax %}
{% from 'jupyter_widgets.html.j2' import jupyter_widgets %}
Expand Down Expand Up @@ -57,13 +58,13 @@
<meta name="robots" content="index,follow" />
<meta
name="description"
content="The human brain excels at finding patterns in visual representations, which is why data visualizations are essential to any analysis. Done right, they bridge the gap between those analyzing the data and those consuming the analysis. However, learning to create impactful, aesthetically-pleasing visualizations can often be challenging. This session will equip you with the skills to make customized visualizations for your data using Python." />
content="{{description}}" />
<meta
property="og:title"
content="{{title}} {{nb_title}} slides | Stefanie Molin" />
<meta
property="og:description"
content="The human brain excels at finding patterns in visual representations, which is why data visualizations are essential to any analysis. Done right, they bridge the gap between those analyzing the data and those consuming the analysis. However, learning to create impactful, aesthetically-pleasing visualizations can often be challenging. This session will equip you with the skills to make customized visualizations for your data using Python." />
content="{{description}}" />
<meta
property="og:image"
content="https://ogcdn.net/e4b8c678-7bd5-445d-ba03-bfaad510c686/v3/stefaniemolin.com/Beyond%20the%20Basics%3A%20Data%20Visualization%20in%20Python%20workshop%20slides/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1517783999520-f068d7431a60%3Fixid%3DMnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8%26ixlib%3Drb-1.2.1%26auto%3Dformat%26fit%3Dcrop%26w%3D2340%26q%3D80/og.png" />
Expand All @@ -74,7 +75,32 @@
<meta property="og:image:height" content="1560" />

<title>{{title}} {{nb_title}} slides | Stefanie Molin</title>
<link rel="manifest" href="/favicon/site.webmanifest" />
<link rel="shortcut icon" type="image/x-icon" href="/favicon/favicon.ico">
<link
rel="apple-touch-icon"
sizes="180x180"
href="/favicon/apple-touch-icon.png" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon/favicon-32x32.png" />
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon/favicon-16x16.png" />
<link
rel="icon"
type="image/png"
sizes="192x192"
href="/favicon/android-chrome-192x192.png" />
<link
rel="icon"
type="image/png"
sizes="512x512"
href="/favicon/android-chrome-512x512.png" />

{%- block html_head_js -%}
{%- block html_head_js_jquery -%}
Expand Down
31 changes: 28 additions & 3 deletions slides/templates/regular/index.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{% set nb_title = nb.metadata.get('title', '') or resources['metadata']['name'] %}
{% set repo_name = 'python-data-viz-workshop' %}
{% set svg_plot_max_height = 375 %}
{% set description = "The human brain excels at finding patterns in visual representations, which is why data visualizations are essential to any analysis. Done right, they bridge the gap between those analyzing the data and those consuming the analysis. However, learning to create impactful, aesthetically-pleasing visualizations can often be challenging. This session will equip you with the skills to make customized visualizations for your data using Python." %}

{% from 'mathjax.html.j2' import mathjax %}
{% from 'jupyter_widgets.html.j2' import jupyter_widgets %}
Expand Down Expand Up @@ -50,20 +51,19 @@
<meta
name="keywords"
content="technology, workshop, data visualization, Python, data science, slides" />
<link rel="manifest" href="/favicon/site.webmanifest" />
<meta
property="og:url"
content="https://stefaniemolin.com/{{repo_name}}/" />
<meta name="robots" content="index,follow" />
<meta
name="description"
content="The human brain excels at finding patterns in visual representations, which is why data visualizations are essential to any analysis. Done right, they bridge the gap between those analyzing the data and those consuming the analysis. However, learning to create impactful, aesthetically-pleasing visualizations can often be challenging. This session will equip you with the skills to make customized visualizations for your data using Python." />
content="{{description}}" />
<meta
property="og:title"
content="{{title}} {{nb_title}} slides | Stefanie Molin" />
<meta
property="og:description"
content="The human brain excels at finding patterns in visual representations, which is why data visualizations are essential to any analysis. Done right, they bridge the gap between those analyzing the data and those consuming the analysis. However, learning to create impactful, aesthetically-pleasing visualizations can often be challenging. This session will equip you with the skills to make customized visualizations for your data using Python." />
content="{{description}}" />
<meta
property="og:image"
content="https://ogcdn.net/e4b8c678-7bd5-445d-ba03-bfaad510c686/v3/stefaniemolin.com/Beyond%20the%20Basics%3A%20Data%20Visualization%20in%20Python%20workshop%20slides/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1517783999520-f068d7431a60%3Fixid%3DMnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8%26ixlib%3Drb-1.2.1%26auto%3Dformat%26fit%3Dcrop%26w%3D2340%26q%3D80/og.png" />
Expand All @@ -74,7 +74,32 @@
<meta property="og:image:height" content="1560" />

<title>{{title}} {{nb_title}} slides | Stefanie Molin</title>
<link rel="manifest" href="/favicon/site.webmanifest" />
<link rel="shortcut icon" type="image/x-icon" href="/favicon/favicon.ico">
<link
rel="apple-touch-icon"
sizes="180x180"
href="/favicon/apple-touch-icon.png" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon/favicon-32x32.png" />
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon/favicon-16x16.png" />
<link
rel="icon"
type="image/png"
sizes="192x192"
href="/favicon/android-chrome-192x192.png" />
<link
rel="icon"
type="image/png"
sizes="512x512"
href="/favicon/android-chrome-512x512.png" />

{%- block html_head_js -%}
{%- block html_head_js_jquery -%}
Expand Down

0 comments on commit a9e9689

Please sign in to comment.