From 81682be8fc8b7aec090bf70384919536f099d354 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 14 Oct 2021 15:59:41 +0200 Subject: [PATCH] fix: pin requirements in frozen notebooks (#71) --- .pre-commit-config.yaml | 3 --- docs/report/.gitignore | 6 +++--- docs/report/006.ipynb | 28 ++++++++++++++++++++++------ 3 files changed, 25 insertions(+), 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 498713f5..f2806bab 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -52,10 +52,7 @@ repos: (?x)^( docs/report/004.*| docs/report/005.*| - docs/report/006.*| docs/report/007.*| - docs/report/009.*| - docs/report/010.*| demo/.* )$ diff --git a/docs/report/.gitignore b/docs/report/.gitignore index a4579e98..7ff8bd17 100644 --- a/docs/report/.gitignore +++ b/docs/report/.gitignore @@ -4,6 +4,6 @@ *.png *.svg -!002-*.svg -!006-*.svg -!008-*.svg +!/002-*.svg +!/006-*.svg +!/008-*.svg diff --git a/docs/report/006.ipynb b/docs/report/006.ipynb index bd38879a..059c4257 100644 --- a/docs/report/006.ipynb +++ b/docs/report/006.ipynb @@ -2,11 +2,30 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "metadata": { + "tags": [] + }, "source": [ "# [TR-006] Interactive 3D plots" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "jupyter": { + "source_hidden": true + }, + "tags": [ + "hide-cell" + ] + }, + "outputs": [], + "source": [ + "%%sh\n", + "pip install ipywidgets==7.6.5 matplotlib==3.4.3 numpy==1.19.5 sympy==1.8 > /dev/null" + ] + }, { "cell_type": "markdown", "metadata": {}, @@ -18,9 +37,6 @@ "cell_type": "code", "execution_count": null, "metadata": { - "jupyter": { - "source_hidden": true - }, "tags": [ "hide-cell" ] @@ -384,7 +400,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -398,7 +414,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.10" + "version": "3.8.11" } }, "nbformat": 4,