{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Figures" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "data": { "text/markdown": [ " from graphviz import Source\n", " Ø = __name__ == '__main__'" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ " from graphviz import Source\n", " Ø = __name__ == '__main__'" ] }, { "cell_type": "code", "execution_count": 12, "metadata": {}, "outputs": [ { "data": { "image/svg+xml": [ "\n", "\n", "\n", "\n", "\n", "\n", "%3\n", "\n", "\n", "cluster_knuth\n", "\n", "WEB literate programming\n", "\n", "\n", "cluster_pidgy\n", "\n", "PIDGY literate programming\n", "\n", "\n", "\n", "MD\n", "\n", "MD\n", "\n", "\n", "\n", "MARKDOWN\n", "\n", "MARKDOWN\n", "\n", "\n", "\n", "MD->MARKDOWN\n", "\n", "\n", "WEAVE\n", "\n", "\n", "\n", "IPY\n", "\n", "IPY\n", "\n", "\n", "\n", "MD->IPY\n", "\n", "\n", "TANGLE\n", "\n", "\n", "\n", "HTML\n", "\n", "HTML\n", "\n", "\n", "\n", "MARKDOWN->HTML\n", "\n", "\n", "PANDOC\n", "\n", "\n", "\n", "PDF\n", "\n", "PDF\n", "\n", "\n", "\n", "HTML->PDF\n", "\n", "\n", "PRINT\n", "\n", "\n", "\n", "PYC\n", "\n", "PYC\n", "\n", "\n", "\n", "IPY->PYC\n", "\n", "\n", "PYTHON\n", "\n", "\n", "\n", "IPYNB\n", "\n", "IPYNB\n", "\n", "\n", "\n", "IPYNB->MARKDOWN\n", "\n", "\n", "WEAVE\n", "\n", "\n", "\n", "IPYNB->IPY\n", "\n", "\n", "TANGLE\n", "\n", "\n", "\n", "WEB\n", "\n", "WEB\n", "\n", "\n", "\n", "TEX\n", "\n", "TEX\n", "\n", "\n", "\n", "WEB->TEX\n", "\n", "\n", "WEAVE\n", "\n", "\n", "\n", "PAS\n", "\n", "PAS\n", "\n", "\n", "\n", "WEB->PAS\n", "\n", "\n", "TANGLE\n", "\n", "\n", "\n", "DVI\n", "\n", "DVI\n", "\n", "\n", "\n", "TEX->DVI\n", "\n", "\n", "TEX\n", "\n", "\n", "\n", "REL\n", "\n", "REL\n", "\n", "\n", "\n", "PAS->REL\n", "\n", "\n", "PASCAL\n", "\n", "\n", "\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/markdown": [ "\n", "\n", " tangle_weave:\\\n", "The diagram of tangling and weaving compares the original literate programming\n", "approach to the markdown-forward approach. The weaving\n", "step becomes an identity transformation. Tangling\n", "markdown to python is a line-by-line, to maintain proper assertions,\n", "transformation that requires wrapping `not \"code\"` in quotations and indenting them properly.\n", "IPY is a superset of python provided by IPython and includes shell, magics, and macro commands." ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "\n", "\n", " tangle_weave:\\\n", "The diagram of tangling and weaving compares the original literate programming\n", "approach to the markdown-forward approach. The weaving\n", "step becomes an identity transformation. Tangling\n", "markdown to python is a line-by-line, to maintain proper assertions,\n", "transformation that requires wrapping `not \"code\"` in quotations and indenting them properly.\n", "IPY is a superset of python provided by IPython and includes shell, magics, and macro commands." ] } ], "metadata": { "kernelspec": { "display_name": "pidgy 3", "language": "python", "name": "pidgy" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.3" } }, "nbformat": 4, "nbformat_minor": 4 }