diff --git a/project.clj b/project.clj index cbb3e80..5905b0d 100644 --- a/project.clj +++ b/project.clj @@ -20,7 +20,7 @@ :exclusions [org.clojure/tools.reader]]] :plugins [[lein-environ "1.1.0"] - [lein-jupyter "0.1.13"] + [lein-jupyter "0.1.14"] [lein-cljsbuild "1.1.7"] [lein-asset-minifier "0.2.7" :exclusions [org.clojure/clojure]]] diff --git a/resources/public/images/clojupyter-logo-alpha-1.svg b/resources/public/images/clojupyter-logo-alpha-1.svg new file mode 100644 index 0000000..5fe0761 --- /dev/null +++ b/resources/public/images/clojupyter-logo-alpha-1.svg @@ -0,0 +1,325 @@ + + diff --git a/resources/public/notebooks/auto-complete.ipynb b/resources/public/notebooks/auto-complete.ipynb index 6400848..5a9b223 100644 --- a/resources/public/notebooks/auto-complete.ipynb +++ b/resources/public/notebooks/auto-complete.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 33, "metadata": {}, "outputs": [ { @@ -11,7 +11,7 @@ "#'user/gaussians" ] }, - "execution_count": 1, + "execution_count": 33, "metadata": {}, "output_type": "execute_result" } @@ -21,12 +21,12 @@ "(import '(java.util Random))\n", "\n", "(def random (new Random 123))\n", - "(def gaussians (clojure.core/red #(.nextGaussian random)))" + "(def gaussians (clojure.core/repeatedly #(.nextGaussian random)))" ] }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 34, "metadata": {}, "outputs": [ { @@ -35,21 +35,14 @@ "#'user/brown-movement" ] }, - "execution_count": 2, + "execution_count": 34, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "(def brown-movement (clojure.core/reductions + gaussians))" + "(def brown-movement (reductions + gaussians))" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { diff --git a/resources/public/notebooks/basic_text.ipynb b/resources/public/notebooks/basic_text.ipynb index ddb1617..a5c0af0 100644 --- a/resources/public/notebooks/basic_text.ipynb +++ b/resources/public/notebooks/basic_text.ipynb @@ -2,33 +2,13 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "(require '[clojupyter.misc.display :as display])" ] }, - { - "cell_type": "code", - "execution_count": 2, - "metadata": {}, - "outputs": [ - { - "data": { - "text/latex": [ - "$e^{i \\pi} + 1 = 0$" - ] - }, - "execution_count": 2, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "(display/make-latex \"$e^{i \\\\pi} + 1 = 0$\")" - ] - }, { "cell_type": "code", "execution_count": 3, @@ -36,8 +16,8 @@ "outputs": [ { "data": { - "text/html": [ - "