From 26452a997db0e04f8910b4057d48fda114dfb6fb Mon Sep 17 00:00:00 2001 From: Dustin H Date: Mon, 12 Apr 2021 12:14:21 -0400 Subject: [PATCH 1/2] install ipympl Adds widget support for matplotlib http://b/185060120 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index db5b7d03..10f8667d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -422,6 +422,8 @@ RUN pip install flashtext && \ pip install easyocr && \ # Keep JAX version in sync with GPU image. pip install jax==0.2.12 jaxlib==0.1.64 && \ + # ipympl adds interactive widget support for matplotlib + pip install ipympl && \ /tmp/clean-layer.sh # Download base easyocr models. From 26c4dd84d81a8599e18a00afa65b3ccf12e6db21 Mon Sep 17 00:00:00 2001 From: Dustin H Date: Mon, 12 Apr 2021 12:18:10 -0400 Subject: [PATCH 2/2] Pin ipympl Version needs to match the version installed statically in the editor. https://github.com/matplotlib/ipympl#install-an-old-jupyterlab-extension --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 10f8667d..d00dd75c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -423,7 +423,7 @@ RUN pip install flashtext && \ # Keep JAX version in sync with GPU image. pip install jax==0.2.12 jaxlib==0.1.64 && \ # ipympl adds interactive widget support for matplotlib - pip install ipympl && \ + pip install ipympl==0.7.0 && \ /tmp/clean-layer.sh # Download base easyocr models.