{ "cells": [ { "cell_type": "markdown", "metadata": { "toc": "true" }, "source": [ "# Table of Contents\n", "
" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Testing [lolviz](https://github.com/parrt/lolviz)\n", "\n", "I liked how the [lolviz](https://github.com/parrt/lolviz) module looked like. Let's try it!" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "CPython 3.6.5\n", "IPython 6.4.0\n", "\n", "lolviz n\u0007\n", "\n", "compiler : GCC 7.3.0\n", "system : Linux\n", "release : 4.15.0-23-generic\n", "machine : x86_64\n", "processor : x86_64\n", "CPU cores : 4\n", "interpreter: 64bit\n" ] } ], "source": [ "%load_ext watermark\n", "%watermark -v -m -p lolviz" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "from lolviz import *" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Testing naively" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "\n", " digraph G {\n", " nodesep=.05;\n", " node [penwidth=\"0.5\", width=.1,height=.1];\n", " node139621679300936 [shape=\"box\", space=\"0.0\", margin=\"0.01\", fontcolor=\"#444443\", fontname=\"Helvetica\", label=<0 | \n", "1 | \n", "2 | \n", "3 | \n", "
'hi' | \n", "'mom' | \n", "{3, 4} | \n", "{'parrt': 'user'} | \n", "