From 49c5372c43092cf35187947c78739d070c608c30 Mon Sep 17 00:00:00 2001 From: Walker Waylon Scott Date: Sun, 2 Jul 2017 11:36:12 -0500 Subject: [PATCH] feat(markdown slides) Moved slide body to an external markdown file. --- src/templates/slide_body.html | 74 ++++++++++++++++++-------- src/templates/slides.html | 22 ++++++++ src/templates/slides.md | 97 +++++++++++++++++++++++++++++++++++ 3 files changed, 172 insertions(+), 21 deletions(-) create mode 100644 src/templates/slides.md diff --git a/src/templates/slide_body.html b/src/templates/slide_body.html index 175a172..956f00a 100644 --- a/src/templates/slide_body.html +++ b/src/templates/slide_body.html @@ -1,25 +1,57 @@ - - - - - - -
+
+
-
-

- Deployed on Heroku - Check it out at http://pydatavizday.herokuapp.com/ -

-
-
Presentation material
-
+
+ +
+ +
- - - - \ No newline at end of file +
+ + + + + + + + \ No newline at end of file diff --git a/src/templates/slides.html b/src/templates/slides.html index 4dfeded..8ef2412 100644 --- a/src/templates/slides.html +++ b/src/templates/slides.html @@ -1,3 +1,25 @@ {% extends "layout.html" %} {% set active_page = "slides" %} +{% block title %}slides{% endblock %} +{% block head %} + {{ super() }} + + + + + + + + + + + + +{% endblock %} \ No newline at end of file diff --git a/src/templates/slides.md b/src/templates/slides.md new file mode 100644 index 0000000..28b25ee --- /dev/null +++ b/src/templates/slides.md @@ -0,0 +1,97 @@ +# pyDataVizDay +*a python implementation for Data Viz Day* + +![python](https://www.python.org/static/opengraph-icon-200x200.png) + +---- + +# Open The Viz + +[pydatavizday.herokuapp.com](pydatavizday.herokuapp.com) + +--- + +**Seriously** Get out your devices + +[pydatavizday.herokuapp.com](pydatavizday.herokuapp.com) + +---- + +## Pros + +* Fast High Level Data Science +* Powerful Web stack +* Testing +* Documentation +* Free + + +---- + +## Cons + +* No GUI (Drag and Drop Environment) +* Longer Learning Curve +* + +---- + +## Stack for this viz + +* Python + * pandas + * flask +* javascript + * C3 + * reveal + * jquery +* HTML + * Bootstrap + + +---- + +## Other Considerations + +* Jupyter Notebooks +* Jupyter Dashboards +* DASH (just released in mid JUNE) + +--- + +### Jupyter Notebooks + +* My Adhoc analysis of choice +* Many plugins (including reveal) +* Data/viz/slides All in one place + +--- + +### Jupyter Dashboards + +* Dashboard plugin for Jupyter notebook + +![jupyter dashboard](https://github.com/jupyter/dashboards/raw/master/docs/source/_static/dashboards_intro.png) + +--- + +### DASH + +* released in June + +![dash](https://camo.githubusercontent.com/a1be75b74d4a47c50df7018e914d63a2e232e503/68747470733a2f2f63646e2d696d616765732d312e6d656469756d2e636f6d2f6d61782f3830302f312a44455441517136572d7079746c4e6f487a4c496144412e706e67) + +---- + +# Example +* making sure highlighting works + +``` python +import pandas as pd + +l = [1, 2, 3] + +for item in l: +print('this is an item from l') +print(l) +``` \ No newline at end of file